convert string to array of json objects javascript code example Example: convert json object to array javascript var as = JSON.parse(jstring);