Skip to main content

Interface: SerializerOptions

Options of createSerializer.

Properties​

builtins?​

optional builtins?: boolean;

Whether to append the built-in serializers (builtinSerializers) to the list. Defaults to true.


serializers?​

optional serializers?: readonly ValueSerializer<any, any>[];

Value serializers, tried in order before the built-ins when encoding.