JSON Array with data types - JSON Examples

JSON Array with different data types:

JSON Array of Numbers

[223456, 64, 43, 65]    

JSON Array of Boolean’s

[truetruefalse,true, falsetrue]    

JSON Array of Strings

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

JSON Array of different data types

[true, false, 0, 1, 2, 1.5, "A", "Yes"]

JSON Array of Objects

[ {  "name": "hogeta",  "age": "12",  "address": "shibuya",  "result": true }, {  "name": "hogeta",  "age": "12",  "address": "shibuya",  "result": true }, {  "name": "hogeta",  "age": "12",  "address": "shibuya",  "result": true }]

JSON Multidimensional Array

[  [    ["A", "B", "C"],    ["D", "E", "F"]  ], [    ["G", "H", "I"],    ["J", "K", "L"]  ], [    ["M"],    ["N"],    ["O"]  ]]

Nested Arrays in JSON Objects

 {    "name":"John",    "age":30,    "cars": [        { "name":"Ford""models":[ "Fiesta""Focus""Mustang" ] },        "name":"BMW""models":[ "320""X3""X5" ] },        "name":"Fiat""models":[ "500""Panda" ] }    ] }

Arrays in JSON Objects

{ "name":"Tom", "age":38, "cars":[ "Ford""BMW""Fiat" ] }