JSON stands for JavaScriptJavaScript is a scripting development language. Javascript is used to allow web pages to be interactive and is one of... Object Notation. It is a human-readable structure that allows data to be transmitted between software systems.
JSON is structured in key-value pairs with objects or arrays. What this means is that for each property, the key can have a value such as
"colour": "brown"
or it can have an arrayIn programming, an array is a data structure that allows a developer to maintain a collection of values or objects.... (list of values), such as "colourList": ["red", "blue", "brown", "black"]
or even an object which contains its key-value pairs, such as "colourObject": {"r": 120, "g": 123, "b": 90}
.This file format allows for easy data transmission between any system developed in any language and has become the basis for APIAn API is an Application Programming Interface. APIs are used to allow systems to retrieve data from other systems. It... communication between many platforms, products, tools, and apps.
Given below is an example of a JSON file:
{ "colour": "brown", "colourList": [ "red", "blue", "brown", "black" ], "colourObject": { "r": 120, "g": 123, "b": 90 } }