javascript turn json into array code example Example 1: js string to object JSON.parse() Example 2: convert json object to array javascript var as = JSON.parse(jstring);