Description
Serializes and restores complex Python object graphs through JSON. It helps applications save or exchange Python-specific objects that ordinary JSON encoders cannot represent directly.
Deserializing object data can be risky when the source is untrusted. Use it for controlled data formats and avoid accepting arbitrary serialized objects from unknown users or services.