JSON is to collect as JSON data from a web server as a file or HTTP request and convert the JSON data to a JavaScript, and then it avails the data in a web page.
The JSON.parse() method parses a JSON string, constructing the JavaScript value or object described by the string.