JSON example

Spread the love

Below is some JSON Example that will help you to better understand about JSON.

{ 
"Person":
{
"name" : "Racks",
"age" : 10,
"married" : true } }

JSON Array Example

["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]

JSON example or JSON file example

{
    "firstName": "Racks",
    "lastName": "Jacson",
    "gender": "man",
    "age": 24,
    "address": {
        "streetAddress": "Udhna",
        "city": "San Jone",
        "state": "CA",
        "postalCode": "95221"
    },
    "phoneNumbers": [
        { "type": "home", "number": "27627" }
    ]
}

JSON file example

If you want to JSON file example then you can refer below link in this I have added many sample JSON files that you can use for Example.

https://www.learningcontainer.com/sample-json-file

You can also check JSON to XML on below link.

You can refer below some article.