Json.NET - Quick Starts & API Documentation
JsonProperty Class
Namespaces ► Newtonsoft.Json.Serialization ► JsonProperty
Maps a JSON property to a .NET member or constructor parameter.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public class JsonProperty
Public Class JsonProperty
public ref class JsonProperty
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
JsonProperty()()()() |
Initializes a new instance of the JsonProperty class
|
|
Converter |
Gets or sets the JsonConverter for the property.
If set this converter takes presidence 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 the property default value handling.
|
|
Equals(Object) | (Inherited from Object.) |
|
Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetIsSpecified |
Gets or sets a predicate used to determine whether the property should be serialized.
|
|
GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
|
Ignored |
Gets a value indicating whether this JsonProperty is ignored.
|
|
IsReference |
Gets 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 the reference loop handling used when serializing the property's collection items.
|
|
ItemTypeNameHandling |
Gets or sets the the type name handling used when serializing the property's collection items.
|
|
MemberConverter |
Gets the member converter.
|
|
MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
NullValueHandling |
Gets the property null value handling.
|
|
ObjectCreationHandling |
Gets the property object creation handling.
|
|
Order |
Gets or sets the order of serialization and deserialization of a member.
|
|
PropertyName |
Gets or sets the name of the property.
|
|
PropertyType |
Gets or sets the type of the property.
|
|
Readable |
Gets a value indicating whether this JsonProperty is readable.
|
|
ReferenceLoopHandling |
Gets the property reference loop handling.
|
|
Required |
Gets a value indicating whether this JsonProperty is required.
|
|
SetIsSpecified |
Gets or sets an action used to set whether the property has been deserialized.
|
|
ShouldSerialize |
Gets or sets a predicate used to determine whether the property should be serialize.
|
|
ToString()()()() |
Returns a String that represents this instance.
(Overrides Object.ToString()()()().) |
|
TypeNameHandling |
Gets 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 a value indicating whether this JsonProperty is writable.
|
Inheritance Hierarchy
Object | |
JsonProperty |