更新时间:2021-07-23 15:52:54
封面
版权信息
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Chapter 1. JavaScript Basics
Variables in JavaScript
Arrays
Objects
The Carousel application
Summary
Chapter 2. Getting Started with JSON
The Hello World program with JSON
Datatypes in JSON
Languages that support JSON
Chapter 3. Working with Real-time JSON
Accessing objects in JSON
Performing complex operations
Modifying JSON
Chapter 4. AJAX Calls with JSON Data
Requirements for AJAX
Hosting JSON
Making your first AJAX call
Parsing JSON data
Chapter 5. Cross-domain Asynchronous Requests
Making GET and POST AJAX calls with JSON data
The problem with cross-domain AJAX calls
Introduction to JSONP
Implementing JSONP
Chapter 6. Building the Carousel Application
Setting up the application
Building the JSON file for the Carousel application
Creating the Carousel application with jQuery Cycle
Chapter 7. Alternate Implementations of JSON
Dependency management
JSON for storing metadata
Comparisons with YAML
Chapter 8. Debugging JSON
Using the developer tools
Validating JSON
Formatting JSON
Index