Home Page Icon
Home Page
Table of Contents for
Introduction to JavaScript Object Notation
Close
Introduction to JavaScript Object Notation
by Lindsay Bassett
Introduction to JavaScript Object Notation
Preface
Audience
Approach to JSON
Conventions Used in This Book
Using Code Examples
SafariĀ® Books Online
How to Contact Us
Acknowledgments
1. What Is JSON?
JSON Is a Data Interchange Format
JSON Is Programming Language Independent
Key Terms and Concepts
2. JSON Syntax
JSON Is Based on JavaScript Object Literals
Name-Value Pairs
Proper JSON Syntax
Syntax Validation
JSON as a Document
The JSON MediaType
Key Terms and Concepts
3. JSON Data Types
Quick Look at Data Types
The JSON Data Types
The JSON Object Data Type
The JSON String Data Type
The JSON Number Data Type
The JSON Boolean Data Type
The JSON null Data Type
The JSON Array Data Type
Key Terms and Concepts
4. JSON Schema
Contracts with Validation Magic
Introduction to JSON Schema
Key Terms and Concepts
5. JSON Security Concerns
A Quick Look at Client- and Server-Side Relationships
Cross-Site Request Forgery (CSRF)
Injection Attacks
Cross-Site Scripting (XSS)
Holes in Security: Architectural Decisions
Key Terms and Concepts
6. The JavaScript XMLHttpRequest and Web APIs
Web APIs
The JavaScript XMLHttpRequest
Relationship Woes and Rules About Sharing
Cross-Origin Resource Sharing (CORS)
JSON-P
Key Terms and Concepts
7. JSON and Client-Side Frameworks
jQuery and JSON
AngularJS
Key Terms and Concepts
8. JSON and NoSQL
The CouchDB Database
The CouchDB API
Key Terms and Concepts
9. JSON on the Server Side
Serializing, Deserializing, and Requesting JSON
ASP.NET
PHP
A Smorgasbord of JSON HTTP Requests
Ruby on Rails
Node.js
Java
Key Terms and Concepts
10. Conclusion
JSON as a Configuration File
The Big Picture
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Cover
Next
Next Chapter
Introduction to JavaScript Object Notation
Introduction to JavaScript
Object Notation
A To-the-Point Guide to JSON
Lindsay Bassett
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset