Skip to content

NewtonsoftJsonCodec Constructors

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

NewtonsoftJsonCodec(IEnumerable<ICodecSelector>, IEnumerable<ICopierSelector>, IOptions<NewtonsoftJsonCodecOptions>)

View source
public NewtonsoftJsonCodec(IEnumerable<ICodecSelector> serializableTypeSelectors, IEnumerable<ICopierSelector> copyableTypeSelectors, IOptions<NewtonsoftJsonCodecOptions> options)
Initializes a new instance of the NewtonsoftJsonCodec class.

Parameters

serializableTypeSelectorsIEnumerable<ICodecSelector>
Filters used to indicate which types should be serialized by this codec.
copyableTypeSelectorsIEnumerable<ICopierSelector>
Filters used to indicate which types should be copied by this codec.
optionsIOptions<NewtonsoftJsonCodecOptions>
The JSON codec options.