This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | JSON error not recognized | ||
---|---|---|---|
Product: | javascript | Reporter: | John Jullion-ceccarelli <johnjullion> |
Component: | JSON | Assignee: | Petr Hejl <phejl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jfmence, pjiricka, vriha |
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
John Jullion-ceccarelli
2013-04-03 22:52:18 UTC
Even the showcase of Netbeans 7.4 uses invalid JSON and shows how Netbeans is unable to detect it: http://wiki.netbeans.org/wiki/images/d/dd/Json_navigator.png Note the trailing comma. This is valid as of JSON5 afaik, but not for "plain old JSON": http://www.ietf.org/rfc/rfc4627.txt?number=4627 grammar: object = begin-object [ member *( value-separator member ) ] end-object Defined on json.org: http://json.org/ Correct fix would be to configure the JSON level to be supported, see http://json5.org/ for newer JSON. Fixed in web-main 211d45bfe538. Integrated into 'main-silver', will be available in build *201307112300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/211d45bfe538 User: Petr Hejl <phejl@netbeans.org> Log: #228224 - JSON error not recognized |