Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

parse json

const parseJSON = (json) => {
  return new Function('return ' + json)();
};
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #parse #json
ADD COMMENT
Topic
Name
5+8 =