Skip to content

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

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.