Table of Contents

Constructor NatsJsonSerializer

Namespace
NATS.Client.Serializers.Json
Assembly
NATS.Client.Serializers.Json.dll

NatsJsonSerializer()

Reflection-based JSON serializer for NATS.

public NatsJsonSerializer()

Remarks

This serializer is not suitable for native AOT deployments since it might rely on reflection

NatsJsonSerializer(JsonSerializerOptions)

Creates a new instance of NatsJsonSerializer<T> with the specified options.

public NatsJsonSerializer(JsonSerializerOptions opts)

Parameters

opts JsonSerializerOptions

Serialization options