var json_str = '[[{"key":"value","key":"value"}],[{"ID":"1","NAME":value","PARENT_NAME":"value","DIR_NAME":"value","IMAGE":value"},{"ID":"2","NAME":"value","PARENT_NAME":"value","DIR_NAME":"value","IMAGE":"value"}]]';
console.log(JSON.parse(json_str));