CHAPTER 3JSON and XML

In This Chapter:

• Introducing the Concept of JSON and XML

• Working with JSON

• Ajax Libraries Working with JSON

• Advantages and Disadvantages of JSON and XML

• HTML and SGML Versus XML

• VXML and Comma Separated Values (CSV) as Alternatives to JSON and XML

• Advanced Example with Dojo and JSON

JSON, pronounced “Jason,” is a lightweight text-based computer interchange format. JSON is often used when serializing data for delivery over a network. Extensible Markup Language (XML) is a specification for creating custom markup languages.

3.1 INTRODUCING THE CONCEPT OF JSON AND XML

JavaScript Object Notation (JSON) was invented by Douglas Crockford as a subset of JavaScript syntax to be a lightweight data format that is easily readable ...

Get Web 2.0 Fundamentals: With AJAX, Development Tools, and Mobile Platforms now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.