JsonSerializerOptions interface

Options for Schema

Properties

groupName

The group name to be used when registering/looking up a schema. Must be specified if serialize will be called.

messageAdapter

Message Adapter enables the serializer to produce and consume custom messages.

Property Details

groupName

The group name to be used when registering/looking up a schema. Must be specified if serialize will be called.

groupName?: string

Property Value

string

messageAdapter

Message Adapter enables the serializer to produce and consume custom messages.

messageAdapter?: MessageAdapter<MessageT>

Property Value

MessageAdapter<MessageT>