There are some error syntax which the syntax file does not warn us.
First case:
[
{ "object1": 1 }
{ "object2": 2 }
]
should be
[
{ "object1": 1 },
{ "object2": 2 }
]
Second case:
{
"object1": []
"object2": []
}
should be
{
"object1": [],
"object2": []
}
Also missing comma after literals like true/false, {}.
{
"object1": true
"object2": 2
}
There are some error syntax which the syntax file does not warn us.
First case:
[ { "object1": 1 } { "object2": 2 } ]should be
[ { "object1": 1 }, { "object2": 2 } ]Second case:
{ "object1": [] "object2": [] }should be
{ "object1": [], "object2": [] }Also missing comma after literals like true/false, {}.
{ "object1": true "object2": 2 }