Contoh JSON

 
{ "phonebook" : { "contact":[ { "name":"Rian Ariona", "phone":"+628572182XXXX", "address":"bandung" },{ "name":"John Doe", "phone":"+169572582XXXX", "address":"Los Angeles" },{ "name":"George", "phone":"+196252145XXXX", "address":"Kanada" } ] } }

Contoh di atas diambil dari
https://www.ariona.net/apa-itu-json/

{ 
  "first_name" : "Sammy",
  "last_name" : "Shark",
  "location" : "Ocean",
  "websites" : [ 
    {
      "description" : "work",
      "URL" : "https://www.digitalocean.com/"
    },
    {
      "desciption" : "tutorials",
      "URL" : "https://www.digitalocean.com/community/tutorials"
    }
  ],
  "social_media" : [
    {
      "description" : "twitter",
      "link" : "https://twitter.com/digitalocean"
    },
    {
      "description" : "facebook",
      "link" : "https://www.facebook.com/DigitalOceanCloudHosting"
    },
    {
      "description" : "github",
      "link" : "https://github.com/digitalocean"
    }
  ]
}

Contoh di atas diambil dari
https://www.codepolitan.com/mengenal-format-json-59e8152dd0e51