Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js json to object

var jsonPerson = '{"first_name":"billy", "age":23}';
var personObject = JSON.parse(jsonPerson); //parse json string into JS object
 
PREVIOUS NEXT
Tagged: #js #json #object
ADD COMMENT
Topic
Name
2+6 =