Javatpoint Logo
Javatpoint Logo

JSON Array

JSON array represents ordered list of values. JSON array can store multiple values. It can store string, number, boolean or object in JSON array.

In JSON array, values must be separated by comma.

The [ (square bracket) represents JSON array.

JSON Array of Strings

Let's see an example of JSON arrays storing string values.

JSON Array of Numbers

Let's see an example of JSON arrays storing number values.

JSON Array of Booleans

Let's see an example of JSON arrays storing boolean values.

JSON Array of Objects

Let's see a simple JSON array example having 4 objects.

JSON Multidimensional Array

We can store array inside JSON array, it is known as array of arrays or multidimensional array.

Next TopicJSON Comments





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA