This Asphalt framework component provides a standardized interface for a number of different serialization algorithms:
- CBOR (using cbor2)
-
JSON (using the Python standard library
json
module) - msgpack (using msgpack-python)
-
Pickle (using the Python standard library
pickle
module) - YAML (using PyYAML)
Additional backends may be provided through third party plugins.
Some serializers also provide hooks for safely (un)marshalling custom types and this mechanism can easily be plugged into a third party marshalling library.