Encoding NaN in JSON

Miki Tebeka miki.tebeka at gmail.com
Wed Apr 17 21:01:55 EDT 2013


[Roland]
> yes, there is: subclass+extend the JSON-encoder, see pydoc json.
Please read the original post before answering. What you suggested does not work since NaN is of float type.



More information about the Python-list mailing list