Answers for "JSON.parse retuns?"

1

what deos json.parse reutnr

Parse the data with JSON.parse(), and the data becomes a JavaScript object.
When using the JSON.parse() on a JSON derived from an array, the method will return a JavaScript array, instead of a JavaScript object.
Posted by: Guest on May-04-2021
79

json parse string

var jsonPerson = '{"first_name":"billy", "age":23}';
var personObject = JSON.parse(jsonPerson); //parse json string into JS object
Posted by: Guest on July-23-2019

Code answers related to "Javascript"

Browse Popular Code Answers by Language