Subject: | Extra commas in arrays not ignored |
Date: | Fri, 10 Aug 2012 11:37:17 -0700 (PDT) |
To: | "bug-json-dwiw [...] rt.cpan.org" <bug-json-dwiw [...] rt.cpan.org> |
From: | Kimo Rosenbaum <kimor79 [...] yahoo.com> |
Extra commas in arrays are not ignored like they are in hashes. With the attached script, I get:
{ "a":1, "b":2, "c":2, }: OK
[ "a", "b", "c", ]: JSON::DWIW v0.47 byte 17, char 17, line 1, col 17 (byte col 17) - syntax error
This is on OSX (perl 5.12) and Ubuntu 12.04 (perl 5.14).
Thanks
Kimo
Message body is not shown because sender requested not to inline it.