Serializers =========== .. py:module:: starknet_py.serialization Containers ---------- .. autoclass:: TupleDataclass :exclude-members: __init__, __new__ :members: as_tuple, as_dict Factory functions ----------------- .. autofunction:: serializer_for_function .. autofunction:: serializer_for_event .. autofunction:: serializer_for_type .. autofunction:: serializer_for_payload Specific serializers -------------------- .. autoclass:: CairoDataSerializer :exclude-members: __init__, __new__ :members: serialize, deserialize .. autoclass:: FeltSerializer :exclude-members: __init__, __new__ .. autoclass:: ArraySerializer :exclude-members: __init__, __new__ .. autoclass:: NamedTupleSerializer :exclude-members: __init__, __new__ .. autoclass:: StructSerializer :exclude-members: __init__, __new__ .. autoclass:: TupleSerializer :exclude-members: __init__, __new__ .. autoclass:: Uint256Serializer :exclude-members: __init__, __new__ .. autoclass:: PayloadSerializer :exclude-members: __init__, __new__ :members: serialize, deserialize .. autoclass:: FunctionSerializationAdapter :exclude-members: __init__, __new__ :members: serialize Exceptions ---------- .. autoclass:: CairoSerializerException :exclude-members: __init__, __new__ .. autoclass:: InvalidTypeException :exclude-members: __init__, __new__ .. autoclass:: InvalidValueException :exclude-members: __init__, __new__