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
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.
nsJSON is not a official plugin. Contact the author or post on the forum and/or wiki talk page...
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.
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.
nsJSON is not a official plugin. Contact the author or post on the forum and/or wiki talk page...
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.