8.10 JSON
JavaScript Object Notation (JSON) is a format that has gained a good amount of traction as a replacement to XML, especially as a light-weight alternative.
Aside note
Although JSON is a subset of JavaScript, it is completely independent of any programming language. Effectively it is a combination of two things–name-value pairs [hash table] and array-like [sequential] structures. Refer JSON Specifications at http://www.json.org/.
The basic principle used in JSON data structure is that data is considered to be occurring in name-value pairs. In many programming languages, this data structure manifests itself in several forms and names as a Class object (in Object oriented programming), a HashMap (in Java), Hash (in Ruby) etc. A JSON ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access