Table of Contents

Constructor NatsJsonContextSerializer

Namespace
NATS.Client.Core
Assembly
NATS.Client.Core.dll

NatsJsonContextSerializer(JsonSerializerContext[], INatsSerializer<T>?)

Creates a new instance of NatsJsonContextSerializer<T>.

public NatsJsonContextSerializer(JsonSerializerContext[] contexts, INatsSerializer<T>? next = null)

Parameters

contexts JsonSerializerContext[]

Context to use for serialization.

next INatsSerializer<T>

Next serializer in chain.

NatsJsonContextSerializer(JsonSerializerContext, INatsSerializer<T>?)

public NatsJsonContextSerializer(JsonSerializerContext context, INatsSerializer<T>? next = null)

Parameters

context JsonSerializerContext
next INatsSerializer<T>