Custom handler to allow custom YFPY objects to be serialized into JSON.
obj (Any) – Unserializable Python object to be serialized into JSON.
Serializable version of the Python object.
Any