JSON Methods: parse()

By: Dusty Arlia
Published on Sunday, November 23, 2014 at 7:53 PM
Last Updated on Saturday, July 11, 2015 at 9:11 PM
Total Updates: 2

The parse() method of the JavaScript JSON object is used to parse JSON formatted strings. Here is the basic syntax:


s is the JSON formatted string to be parsed. This method will return an object, array, or primitive value parsed from s.