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

JsonProperty

public class JsonProperty
Maps a JSON property to a .NET member.
public JsonConverter Converter { get; set; }

Gets or sets the JsonConverter for the property. If set this converter takes presidence over the contract converter for the property type.

public object DefaultValue { get; set; }

Gets the default value.

Gets the property default value handling.

public Predicate<object> GetIsSpecified { get; set; }

Gets or sets a predicate used to determine whether the property should be serialized.

public bool Ignored { get; set; }

Gets a value indicating whether this JsonProperty is ignored.

public bool? IsReference { get; set; }

Gets a value indicating whether this property preserves object references.

public JsonConverter MemberConverter { get; set; }

Gets the member converter.

public NullValueHandling? NullValueHandling { get; set; }

Gets the property null value handling.

Gets the property object creation handling.

public string PropertyName { get; set; }

Gets the name of the property.

public Type PropertyType { get; set; }

Gets or sets the type of the property.

public bool Readable { get; set; }

Gets a value indicating whether this JsonProperty is readable.

Gets the property reference loop handling.

public Required Required { get; set; }

Gets a value indicating whether this JsonProperty is required.

public Action<object, object> SetIsSpecified { get; set; }

Gets or sets an action used to set whether the property has been deserialized.

public Predicate<object> ShouldSerialize { get; set; }

Gets or sets a predicate used to determine whether the property should be serialize.

public TypeNameHandling? TypeNameHandling { get; set; }

Gets or sets the type name handling.

public IValueProvider ValueProvider { get; set; }

Gets the IValueProvider that will get and set the JsonProperty during serialization.

public bool Writable { get; set; }

Gets a value indicating whether this JsonProperty is writable.

public JsonProperty()