What is JSON Data?

What is JSON Data?

A JSON(JavaScript Object Notation) Data is a data containing object and  Array. JSON data is mainly used for exchange data from the server to web Application or Mobile Application.  it is a stander Data exchange format. JSON is very lightweight, text-based, human-readable, easily editable with any text editor.

Read more about JSON then follow below link.

What is a JSON file ?

You can also call sample-JSON API directly.
https://tools.learningcontainer.com/sample-json.json

You can refer below tools to display data in the proper format.

and you can compare to JSON file with below tools.

You can refer below files. That file contains JSON Data.

{
    "firstName": "Rajesh",
    "lastName": "Kumar",
    "gender": "man",
    "age": 24,
    "address": {
        "streetAddress": "126 Udhna",
        "city": "Surat",
        "state": "GJ",
        "postalCode": "394221"
    },
    "phoneNumbers": [
        { "type": "home", "number": "7383627627" }
    ]
}