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
Source by jonsuh.com #
 
PREVIOUS NEXT
Tagged: #js #json #object
ADD COMMENT
Topic
Name
1+9 =