javascript cast json to object code example
Example 1: json_decode javascript
JSON.parse(jsonToDecode)
Example 2: convert json object to array javascript
var as = JSON.parse(jstring);
JSON.parse(jsonToDecode)
var as = JSON.parse(jstring);