[issue7444] Allow for a default method in the JSON decoder

2009-12-05 Thread Bob Ippolito
Changes by Bob Ippolito : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue7444] Allow for a default method in the JSON decoder

2009-12-05 Thread Bob Ippolito
Bob Ippolito added the comment: If it had JavaScript style Date objects in it, it wasn't a JSON document. While it may be easy enough to do this in the version that happens to be included with Python, the optimizations in later versions of simplejson make this no longer possible. You'd have t

[issue7444] Allow for a default method in the JSON decoder

2009-12-05 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> bob.ippolito nosy: +bob.ippolito ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue7444] Allow for a default method in the JSON decoder

2009-12-05 Thread Daniel Goldman
New submission from Daniel Goldman : I encountered JavaScript-style Date objects in a JSON document that I wanted to parse, and these objects were causing the Python JSON decoder to raise an error with a message that said "Expecting object," followed by the line and column numbers. Here is an