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

JsonProperty

public class JsonProperty
Maps a JSON property to a .NET member or constructor parameter.
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 Type DeclaringType { get; set; }

Gets or sets the type that declared this property.

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 HasMemberAttribute { get; set; }

Gets a value indicating whether this JsonProperty has a member attribute.

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 ItemConverter { get; set; }

Gets or sets the converter used when serializing the property's collection items.

public bool? ItemIsReference { get; set; }

Gets or sets whether this property's collection items are serialized as a reference.

Gets or sets the the reference loop handling used when serializing the property's collection items.

public TypeNameHandling? ItemTypeNameHandling { get; set; }

Gets or sets the the type name handling used when serializing the property's collection items.

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 int? Order { get; set; }

Gets or sets the order of serialization and deserialization of a member.

public string PropertyName { get; set; }

Gets or sets 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 string UnderlyingName { get; set; }

Gets or sets the name of the underlying member or parameter.

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()