man… I hate JSON, it’s so hard… something like this is simple…
{
"Name": "Beatles",
"Country": "England",
"YearFormed": 1959,
"Style": "Rock'n'Roll",
"Members": [
"Paul",
"John",
"George",
"Ringo"
]
}
but how do I add a second band?
if I add a comma at the end, and repeat, with a diff band name, it doesn’t validate in JSON Lint, i.e., this doesn’t validate…
{
"Name": "Beatles",
"Country": "England",
"YearFormed": 1959,
"Style": "Rock'n'Roll",
"Members": [
"Paul",
"John",
"George",
"Ringo"
]
},
{
"Name": "Rolling Stones",
"Country": "England",
"YearFormed": 1956,
"Style": "Rock'n'Roll",
"Members": [
"Mick",
"Keith",
"Brian",
"Charlie"
]
}
all the JSON tutorials have really simple examples, but when you get to the real world JSON’s can be very complex…
I need examples of more complex JSON examples to practice with…
thank you…