HTML and CSS Reference
In-Depth Information
Library, jQuery, Dojo, and mootools that support JSON. The JSON Web site provides a
short and succinct discussion on the JSON technology (see Figure 18.19).
Figure 18.19 The JSON Web site.
18.5.1 JSON Data Structures
JSON is based on two data structures we discussed in Chapters 8 and 9: arrays and objects.
As you might recall, the array is indexed by numbers or strings, and the object consists of
properties and their corresponding values. It is possible to nest these data structures, so you
might have an array of objects, an array of arrays, an object with nested properties and val-
ues, and so on. For both of these structures, we use the literal notation.
 
 
Search WWH ::




Custom Search