Bases: JSONEncoder
JSONEncoder
JSON encoder that sorts dictionaries, lists and tuples.
Encode as JSON while sorting dictionaries, lists and tuples.
o (Any) – The object being converted.
The converted object.
Any