-
Piotr Maślanka authored3b8f6847
json.rst 501 B
JSON
In order to better support JSON, you should declare each of your class that supports being converted to JSON with
Then you can convert structures made out of standard serializable Python JSON objects, such as dicts and lists, and also JSONAble objects, by this all
You might also want to check out the JSONEncoder satella uses to do it.