What is JSON

What is JSON

JSON stands for JavaScript Object Notation.

JSON is an open standard file format and data interchange format that uses human-readable text to store and transmit data objects consisting of attribute-value pairs and arrays.

JSON is a language-independent data format. It was derived from Javascript, but many modern programming languages include code to generate and parse JSON-format data.

The official Internet media type for JSON is application/json.

JSON filenames use the extension .json

JSON Example

This example shows a possible JSON representation describing a person.

image.png

JSON Syntax Rules

  • Data is in name/value pairs
  • Data is separated by commas
  • Curly braces hold objects
  • Square brackets hold arrays

JSON Objects

image.png

JSON Arrays

image.png

Conclusion

This is the end of the blog. Make sure to give a follow if you liked this.
Thanks💛