Search
Close this search box.

JSON

JSON is a lightweight data-interchange language and format that uses human-readable text to transmit data objects consisting of attribute-value pairs. JSON is a text format that is completely language-independent but uses conventions that are familiar to programmers of the C-attribute-value pairs. It is very similar to JavaScript object literals. It is built on two structures: arrays and objects. Arrays are comma-separated lists of values, while objects are set of name/value pairs. Objects begin with a left brace ({) and end with a right brace (}). The first line is called the End of Line (EOL) sequence. The JSON format is a subset of the JavaScript Programming Language Standard.

Why JSON?

  • The information created in any application whether it is a web-based, mobile, or desktop app can be easily transferred between servers and different devices
  • Its lightweight format means that it requires fewer bytes to transfer the data
  • JSON is a language-independent data format that can be read by any programming language
  • JSON APIs are easy to consume and the data can be easily accessed
  • JSON format enables the developers to have complete control of what they are passing on to their users, unlike XML
  • JSON is easy to generate and very less time-consuming
  • JSON has less verbosity, so smaller files are created when compared to XML