#26 Validation allows invalid JSON

0.9.6
open
nobody
None
5
2014-02-18
2014-02-14
Stephen Owens
No

Ran across this bug in the editor.

When validating it should not consider this valid json:

"foo":{
"bar":"baz"
"bim":{ "bim":"boo"}
}

There should be an error due to the fact that there is no comma between "baz" and "bim"

Discussion

  • Hi Stephen,

    Sadly, there is a bug in the outline window that displays valid JSON as an error. The outline is trying to be a bit too clever when displaying the outline for invalid JSON.

    I'll look to revert the outline parser so that it fails invalid JSON only.

    Cheers,
    Matt.