brl.JSON does not parse empty Object / Array
Monkey Forums/Monkey Bug Reports/brl.JSON does not parse empty Object / Array
| ||
| Hi Mark, thank you for your work! There is a small bug in brl.json: if the JSON file contains empty Objects / Array, the parser throws an error (but the JSON file is actually valid). For example the following JSON file does not work:
{
"hello" : [ 1, 2, 3 ],
"world" : []
}
I tried to fix it by myself, with no luck :-( Could you please provide a fix? THANKS |