isagalaev / ijson

Iterative JSON parser with Pythonic interface
http://pypi.python.org/pypi/ijson/
Other
615 stars 134 forks source link

NaN support #20

Closed tedx closed 10 years ago

tedx commented 10 years ago

I'm trying to parse in Python some json that contain values of NaN but ijson is throwing an exception. I see that the standard json parser has the capability to handle NaN. Is this something you'd consider added to ijson?

isagalaev commented 10 years ago

I'm trying to keep the parser small, so non-standard features aren't supported. NaN is non-standard (as well as Infinity).