JSON explanation in an easy way

According to json.org, JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language Standard ECMA-262 3rd Edition – December 1999.

So we can understand about JSON this way. JSON is:

  • a lightweight data-interchange format
  • easy for humans to read and write
  • easy for machines to parse and generate
  • completely language independent

JSON structure

Also according to json.org, JSON is built on two structures:

  • A collection of name/value pairs. (In various languages, this is realized as an object, record, struct, dictionary, hash table, keyed list, or associative array.)
  • An ordered list of values. (In most languages, this is realized as an array, vector, list, or sequence.)

JSON Name/Value


JSON Objects

 {"firstName":"Config9", "lastName":"COM"} 

JSON Arrays

  {"firstName":"Config9", "lastName":"COM"},
  {"firstName":"Inneka", "lastName":"COM"},
  {"firstName":"oraerr", "lastName":"COM"}

JSON Standards

First of all, the most well-known JSON standard is RFC7159 released by Internet Engineering Task Force (IETF) from March 2014.

Our Awesome Tools

Related:  How to configure Nginx as a reverse proxy

Leave a Reply

Your email address will not be published. Required fields are marked *