Parsing JSON

  • Ben Smith


In the last chapter, I discussed how to convert a JavaScript value into a valid JSON text using JSON.stringify. In  Chapter 4, you learned how JSON utilizes JavaScript’s literal notation as a way to capture the structure of a JavaScript value. Additionally, you learned in that same chapter that JavaScript values can be created from their literal forms. The process by which this transformation occurs is due to the parsing component within the JavaScript engine. This brings us full circle, regarding the serializing and deserializing process.


Eval Function Syntax Error Reviver Function Parse Error Parse Method 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Ben Smith 2015

Authors and Affiliations

  • Ben Smith
    • 1
  1. 1.NYUS

Personalised recommendations