Serialize

Serialize

Safe-ish serialization interface that doesn't rely on Pickle

Attributes:
    __serialize_fields__ (List[str]): Fields (aka attributes) to serialize.
    __serialize_namespace__ (list): List of classes that deserialization is allowed to instantiate.
                                    Should include all field types that aren't builtin types.

Serialize

Safe-ish serialization interface that doesn't rely on Pickle

Attributes:
    __serialize_fields__ (List[str]): Fields (aka attributes) to serialize.
    __serialize_namespace__ (list): List of classes that deserialization is allowed to instantiate.
                                    Should include all field types that aren't builtin types.