JsonProperty Class |
Namespace: Newtonsoft.Json.Serialization
public class JsonProperty
The JsonProperty type exposes the following members.
Name | Description | |
---|---|---|
JsonProperty | Initializes a new instance of the JsonProperty class |
Name | Description | |
---|---|---|
AttributeProvider |
Gets or sets the IAttributeProvider for this property.
| |
Converter |
Gets or sets the JsonConverter for the property.
If set this converter takes precedence over the contract converter for the property type.
| |
DeclaringType |
Gets or sets the type that declared this property.
| |
DefaultValue |
Gets the default value.
| |
DefaultValueHandling |
Gets or sets the property default value handling.
| |
GetIsSpecified |
Gets or sets a predicate used to determine whether the property should be serialized.
| |
HasMemberAttribute |
Gets or sets a value indicating whether this JsonProperty has a member attribute.
| |
Ignored |
Gets or sets a value indicating whether this JsonProperty is ignored.
| |
IsReference |
Gets or sets a value indicating whether this property preserves object references.
| |
ItemConverter |
Gets or sets the converter used when serializing the property's collection items.
| |
ItemIsReference |
Gets or sets whether this property's collection items are serialized as a reference.
| |
ItemReferenceLoopHandling |
Gets or sets the reference loop handling used when serializing the property's collection items.
| |
ItemTypeNameHandling |
Gets or sets the type name handling used when serializing the property's collection items.
| |
MemberConverter | Obsolete.
Gets or sets the member converter.
| |
NullValueHandling |
Gets or sets the property null value handling.
| |
ObjectCreationHandling |
Gets or sets the property object creation handling.
| |
Order |
Gets or sets the order of serialization of a member.
| |
PropertyName |
Gets or sets the name of the property.
| |
PropertyType |
Gets or sets the type of the property.
| |
Readable |
Gets or sets a value indicating whether this JsonProperty is readable.
| |
ReferenceLoopHandling |
Gets or sets the property reference loop handling.
| |
Required |
Gets or sets a value indicating whether this JsonProperty is required.
| |
SetIsSpecified |
Gets or sets an action used to set whether the property has been deserialized.
| |
ShouldDeserialize |
Gets or sets a predicate used to determine whether the property should be deserialized.
| |
ShouldSerialize |
Gets or sets a predicate used to determine whether the property should be serialized.
| |
TypeNameHandling |
Gets or sets or sets the type name handling.
| |
UnderlyingName |
Gets or sets the name of the underlying member or parameter.
| |
ValueProvider |
Gets the IValueProvider that will get and set the JsonProperty during serialization.
| |
Writable |
Gets or sets a value indicating whether this JsonProperty is writable.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString |
Returns a String that represents this instance.
(Overrides ObjectToString.) |