A blog for technology, SEO tips, website development and open source programming.

Introduction to JSON




Introduction to JSON

JSON:

  • stands for : JavaScript Object Notation.
  • Open source, light-weight data-interchange format.
  • sub-set of JavaScript.
  • an alternative to XML.
  • used to transmit data between sever and web application.
  • language independent just as XML.
  • Internet media type is application/json.
  • has a file extension of .json.
  • the  format was introduced by Douglas Crockford.

Advantage of JSON over XML.

  • easy to read compared to XML.
  • more compact than XML and hence is loaded quickly.
  • flexible compared to XML.
  • faster compared to XML.




Prerequisites

  • Should have a basic knowledge of JavaScript.
  • Knowledge of XML would be advantageous.

Table of Contents

1. Introduction to JSON

2. JSON Syntax

3. JSON Datatypes

4. JSON Schema

5. JSON Libraries

6. JSON Nested Objects

7. JSON Text to JavaScript Objects using eval()

8. JSON With PHP

Continue to the next part JSON Syntax

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More