Abstract
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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Wikipedia, “Tree (data structure),” http://en.wikipedia.org/wiki/Tree_%28data_structure%29#Terminology , modified January 2015.
- 2.
ECMA International, ECMAScript Language Specification, Standard ECMA-262, Edition 5.1, Section 7.3, www.ecma-international.org/ecma-262/5.1/#sec-7.3 , June 2011.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2015 Ben Smith
About this chapter
Cite this chapter
Smith, B. (2015). Parsing JSON. In: Beginning JSON. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0202-9_6
Download citation
DOI: https://doi.org/10.1007/978-1-4842-0202-9_6
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-0203-6
Online ISBN: 978-1-4842-0202-9
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books