Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node string to json

const json = '{"result":true, "count":42}';
const obj = JSON.parse(json);
 
PREVIOUS NEXT
Tagged: #node #string #json
ADD COMMENT
Topic
Name
3+5 =