On Apr 5, 5:32 am, Roy Smith <r...@panix.com> wrote: > [...] Nobody expects > that a JSON parser will be parsing human-written input, [...]
Humans write JSON all the time. People use JSON as a configuration language, and some people actually write JSON files by hand. A common example would be writing package.json for an npm package. Here are a couple examples: https://github.com/jashkenas/coffee-script/blob/master/package.json https://github.com/github/hubot/blob/master/package.json > so there's little value to saying anything more than "parse error". So, there's little value to say anything more than "parse error"...except to help all those dumb humans that expect JSON to be human-writable. ;) -- http://mail.python.org/mailman/listinfo/python-list