ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/JSON-XS/XS.pm
(Generate patch)

Comparing JSON-XS/XS.pm (file contents):
Revision 1.59 by root, Mon Aug 27 01:49:01 2007 UTC vs.
Revision 1.60 by root, Mon Aug 27 02:03:23 2007 UTC

309 ] 309 ]
310 { 310 {
311 "k1": "v1", 311 "k1": "v1",
312 "k2": "v2", <- this comma not normally allowed 312 "k2": "v2", <- this comma not normally allowed
313 } 313 }
314
315=item * shell-style '#'-comments
316
317Whenever JSON allows whitespace, shell-style comments are additionally
318allowed. They are terminated by the first carriage-return or line-feed
319character, after which more white-space and comments are allowed.
320
321 [
322 1, # this comment not allowed in JSON
323 # neither this one...
324 ]
314 325
315=back 326=back
316 327
317=item $json = $json->canonical ([$enable]) 328=item $json = $json->canonical ([$enable])
318 329

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines