I have been testing JUCE against an online validator (http://jsonlint.com/) and noticed a small error in JUCE JSON parsing. A valid JSON block must be part of an object or array, so JUCE says that this string is OK . . .
When at minimum it should be either . .
{
"foo":1
}
or
[
"foo", 1
]
It is very easy to check in my code that the top level var is an object or an array, but this should probably be picked up during the initial parse phase. Thanks