how to parse a json array to array javascript code example
Example 1: php convert array to object
$object = (object) $array;
Example 2: Javascript object to JSON string
var person={"first_name":"Tony","last_name":"Hawk","age":31};
var personJSONString=JSON.stringify(person);