<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />

JsonConverterAttribute

public sealed class JsonConverterAttribute : Attribute
Instructs the JsonSerializer to use the specified JsonConverter when serializing the member or class.
public object[] ConverterParameters { get; }

The parameter list to use when constructing the JsonConverter described by ConverterType. If null, the default constructor is used.

public Type ConverterType { get; }

Gets the Type of the JsonConverter.

public JsonConverterAttribute(Type converterType)

Initializes a new instance of the JsonConverterAttribute class.

public JsonConverterAttribute(Type converterType, object[] converterParameters)

Initializes a new instance of the JsonConverterAttribute class.