Json.NET - Quick Starts & API Documentation
JsonProperty Class
Namespaces ► Newtonsoft.Json.Serialization ► JsonProperty
Maps a JSON property to a .NET member.
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.
|
|
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.
|
|
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.
|
|
PropertyName |
Gets 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.
|
|
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 |