JSON

Topics related to JSON:

Getting started with JSON

JSON (JavaScript Object Notation) is one of the most popular and widely accepted data exchange format originally specified by Douglas Crockford.

It is currently described by two competing standards, RFC 71592 and ECMA-404. The ECMA standard is minimal, describing only the allowed grammar syntax, whereas the RFC also provides some semantic and security considerations.

  • JSON is widely accepted in the softwares that includes client-server architecture for exchanging data between client and server.
  • JSON is easy to use and purely text-based, lightweight, and human- readable format and people often misunderstand as replacement of XML.
  • Although the abbreviation starts with JavaScript, JSON is not a language or have any language literals it just a specification for notation of data.
  • It is platform and language independent and inbuilt supported by almost all of the front line languages/frameworks like and support for the JSON data format is available in all the popular languages, some of which are C#, PHP, Java, C++, Python, Ruby and many more.
  • The official Internet media type for JSON is application/json.
  • The JSON file name extension is .json.

Parsing JSON string

Stringify - Convert JSON to string