1 |
Simple JSON Object |
{
"name": "John Doe",
"age": 25,
"city": "Exampleville",
"isStudent": false
}
|
Link
|
|
2 |
JSON Array |
[
{ "name": "Alice", "age": 30 },
{ "name": "Bob", "age": 28 },
{ "name": "Charlie", "age": 35 }
]
|
Link
|
|
3 |
Nested JSON Objects |
{
"person": {
"name": "Eve",
"age": 22,
"address": {
"city": "Wonderland",
"country": "Fictionland"
}
}
}
|
Link
|
|
4 |
JSON Array of Objects with Different DataTypes |
[
{ "name": "David", "age": 27, "isStudent": true },
{ "name": "Emily", "age": 32, "isStudent": false, "grades": [85, 90, 78] },
{ "name": "Frank", "age": 40, "isStudent": false, "location": null }
]
|
Link
|
|
5 |
JSON with Dates |
{
"event": "Conference",
"date": "2023-11-30T09:00:00.000Z",
"location": "Tech Center"
}
|
Link
|
|
6 |
JSON with Arrays of Strings |
{
"colors": ["red", "green", "blue"],
"fruits": ["apple", "banana", "orange"]
}
|
Link
|
|
7 |
JSON with Nested Arrays |
{
"matrix": [
[1, 2, 3],
[4, 5, 6],
[7, 8, 9]
]
}
|
Link
|
|
8 |
Full JSON |
[
{
"id": 1,
"name": "Leanne Graham",
"username": "Bret",
"email": "Sincere@april.biz",
"address": {
"street": "Kulas Light",
"suite": "Apt. 556",
"city": "Gwenborough",
"zipcode": "92998-3874",
"geo": {
"lat": "-37.3159",
"lng": "81.1496"
}
},
"phone": "1-770-736-8031 x56442",
"website": "hildegard.org",
"company": {
"name": "Romaguera-Crona",
"catchPhrase": "Multi-layered client-server neural-net",
"bs": "harness real-time e-markets"
}
},
...]
|
Link
|
|