Newtonsoft.Json.JsonConverterAttribute.JsonConverterAttribute C# (CSharp) Method

JsonConverterAttribute() public method

Initializes a new instance of the JsonConverterAttribute class.
public JsonConverterAttribute ( Type converterType ) : System
converterType System.Type Type of the .
return System
        public JsonConverterAttribute(Type converterType)
        {
            if (converterType == null)
            {
                throw new ArgumentNullException(nameof(converterType));
            }

            _converterType = converterType;
        }
JsonConverterAttribute