Menu

#1116 nsJSON does not support comment

2.0 Series
closed-invalid
nobody
nsJSON (1)
5
2015-04-09
2015-04-09
Pascal Gula
No

Hi,
trying to use nsJSON, I just found out that embedded comment '//' in JSON are breaking the parsing without returning error, but disable the correct use of 'get'.
Cheers,
Pascal

Discussion

  • Pascal Gula

    Pascal Gula - 2015-04-09

    if the comment are at the end of the file however, it does not affect the parsing. I did not test any comment at the end of a line.

     
  • Anders

    Anders - 2015-04-09

    nsJSON is not a official plugin. Contact the author or post on the forum and/or wiki talk page...

     
  • Anders

    Anders - 2015-04-09
    • status: open --> closed-invalid
     
  • Eric Lawrence

    Eric Lawrence - 2015-04-09

    Beyond the fact that this is external, there's no such thing as a "comment" in JSON. See JSon.org which shows the full legal grammar.

     

Log in to post a comment.