Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript parse json

const json = '{ "fruit": "pineapple", "fingers": 10 }';
const obj = JSON.parse(json);
console.log(obj.fruit, obj.fingers);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #parse #json
ADD COMMENT
Topic
Name
3+2 =