-
Piotr Maślanka authored7b23788f
json.rst 506 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.