Demo Convert JSON String to JavaScript Object

JSON String :

{
   "animals": {
      "Lion": {
         "name": "Lion",
         "type": "Wild",
         "Location": {
            "one": {
                "zoo-1": "San Diego Zoo",
                "zoo-2": "Bronx Zoo"
            }
         }
      }
   }
}
        

Location->one[] object array output:

Object Key Object Value

Back to Tutorial

Back to Top