Class JProperty
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Newtonsoft.Json.dll
Syntax
public class JProperty : Newtonsoft.Json.Linq.JContainer
Constructors
JProperty(JProperty)
JProperty(String, Object)
JProperty(String, Object[])
Declaration
public JProperty (string name, params object[] content);
Parameters
String
name
|
Object[]
content
|
Properties
ChildrenTokens
Declaration
protected override System.Collections.Generic.IList<Newtonsoft.Json.Linq.JToken> ChildrenTokens { get; }
Property Value
IList<JToken>
|
Name
Declaration
[get: System.Diagnostics.DebuggerStepThrough]
public string Name { get; }
Property Value
String
|
Type
Declaration
[get: System.Diagnostics.DebuggerStepThrough]
public override Newtonsoft.Json.Linq.JTokenType Type { get; }
Property Value
JTokenType
|
Value
Declaration
[get: System.Diagnostics.DebuggerStepThrough]
public Newtonsoft.Json.Linq.JToken Value { get; set; }
Property Value
JToken
|
Methods
Load(JsonReader)
Declaration
public static Newtonsoft.Json.Linq.JProperty Load (Newtonsoft.Json.JsonReader reader);
Parameters
JsonReader
reader
|
Returns
JProperty
|
Load(JsonReader, JsonLoadSettings)
Declaration
public static Newtonsoft.Json.Linq.JProperty Load (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Linq.JsonLoadSettings settings);
Parameters
JsonReader
reader
|
JsonLoadSettings
settings
|
Returns
JProperty
|
LoadAsync(JsonReader, CancellationToken)
Declaration
public static System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JProperty> LoadAsync (Newtonsoft.Json.JsonReader reader, System.Threading.CancellationToken cancellationToken = null);
Parameters
JsonReader
reader
|
CancellationToken
cancellationToken
|
Returns
Task<JProperty>
|
LoadAsync(JsonReader, JsonLoadSettings, CancellationToken)
Declaration
public static System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JProperty> LoadAsync (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Linq.JsonLoadSettings settings, System.Threading.CancellationToken cancellationToken = null);
Parameters
JsonReader
reader
|
JsonLoadSettings
settings
|
CancellationToken
cancellationToken
|
Returns
Task<JProperty>
|
WriteTo(JsonWriter, JsonConverter[])
Declaration
public override void WriteTo (Newtonsoft.Json.JsonWriter writer, params Newtonsoft.Json.JsonConverter[] converters);
Parameters
JsonWriter
writer
|
JsonConverter[]
converters
|
WriteToAsync(JsonWriter, CancellationToken, JsonConverter[])
Declaration
public override System.Threading.Tasks.Task WriteToAsync (Newtonsoft.Json.JsonWriter writer, System.Threading.CancellationToken cancellationToken, params Newtonsoft.Json.JsonConverter[] converters);
Parameters
JsonWriter
writer
|
CancellationToken
cancellationToken
|
JsonConverter[]
converters
|
Returns
Task
|