September 2024
Beginner to intermediate
985 pages
35h 37m
English
JSON (pronounced like the name "Jason") is the format that has overtaken XML in many respects.
At first glance, the JSON format looks like the object literal notation (see Chapter 3). However, there are some important differences in detail, which we’ll show you in this section.
The essential characteristic of the JSON format is its braces, which are used to define individual objects. Properties of objects are enclosed in quotation marks and separated from the respective value by a colon. The values can be strings, numeric values, Boolean values, arrays, the value null, or other objects. Listing 9.4 shows an example of a JSON document that contains the same data as the XML document defined ...
Read now
Unlock full access