Creates a serializer for an array of items.
The serializer to use for the array's items.
Optional
options: ArraySerializerOptionsA set of options for the serializer.
Creates a boolean serializer.
Optional
options: BoolSerializerOptionsA set of options for the serializer.
Creates a serializer that passes the buffer as-is.
Optional
options: BytesSerializerOptionsA set of options for the serializer.
Creates a serializer for 4-bytes floating point numbers.
Optional
options: NumberSerializerOptionsA set of options for the serializer.
Creates a serializer for 8-bytes floating point numbers.
Optional
options: NumberSerializerOptionsA set of options for the serializer.
Creates a serializer for 16-bytes signed integers.
Optional
options: NumberSerializerOptionsA set of options for the serializer.
Creates a serializer for 2-bytes signed integers.
Optional
options: NumberSerializerOptionsA set of options for the serializer.
Creates a serializer for 4-bytes signed integers.
Optional
options: NumberSerializerOptionsA set of options for the serializer.
Creates a serializer for 8-bytes signed integers.
Optional
options: NumberSerializerOptionsA set of options for the serializer.
Creates a serializer for 1-byte signed integers.
Optional
options: BaseSerializerOptionsA set of options for the serializer.
Creates a serializer for a map.
The serializer to use for the map's keys.
The serializer to use for the map's values.
Optional
options: MapSerializerOptionsA set of options for the serializer.
Creates a serializer for an optional value using null
as the None
value.
The serializer to use for the value that may be present.
Optional
options: NullableSerializerOptionsA set of options for the serializer.
Creates a serializer for an optional value using the Option type.
The serializer to use for the value that may be present.
Optional
options: OptionSerializerOptionsA set of options for the serializer.
Creates a serializer for 32-bytes public keys.
Optional
options: BaseSerializerOptionsA set of options for the serializer.
Creates a serializer for a set.
The serializer to use for the set's items.
Optional
options: SetSerializerOptionsA set of options for the serializer.
Creates a string serializer.
Optional
options: StringSerializerOptionsA set of options for the serializer.
Creates a serializer for a custom object.
The name and serializer of each field.
Optional
options: BaseSerializerOptionsA set of options for the serializer.
Creates a serializer for a tuple-like array.
The serializers to use for each item in the tuple.
Optional
options: BaseSerializerOptionsA set of options for the serializer.
Creates a serializer for 16-bytes unsigned integers.
Optional
options: NumberSerializerOptionsA set of options for the serializer.
Creates a serializer for 2-bytes unsigned integers.
Optional
options: NumberSerializerOptionsA set of options for the serializer.
Creates a serializer for 4-bytes unsigned integers.
Optional
options: NumberSerializerOptionsA set of options for the serializer.
Creates a serializer for 8-bytes unsigned integers.
Optional
options: NumberSerializerOptionsA set of options for the serializer.
Creates a serializer for 1-byte unsigned integers.
Optional
options: BaseSerializerOptionsA set of options for the serializer.
Creates a void serializer.
Optional
options: BaseSerializerOptionsA set of options for the serializer.
Creates a data enum serializer.
The variant serializers of the data enum.
Optional
options: DataEnumSerializerOptionsA set of options for the serializer.
Creates a scalar enum serializer.
The constructor of the scalar enum.
Optional
options: ScalarEnumSerializerOptionsA set of options for the serializer.
Generated using TypeDoc
Defines the interface for a set of serializers that can be used to serialize/deserialize any Serde types.
Deprecated
This interface is deprecated. You can now directly use
@metaplex-foundation/umi/serializers
instead.