Class JValue
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Newtonsoft.Json.dll
Syntax
public class JValue : Newtonsoft.Json.Linq.JToken, IComparable, IComparable<Newtonsoft.Json.Linq.JValue>, IConvertible, IEquatable<Newtonsoft.Json.Linq.JValue>, IFormattable
Constructors
JValue(JValue)
JValue(Uri)
JValue(UInt64)
JValue(TimeSpan)
JValue(Single)
JValue(Object)
JValue(Int64)
JValue(String)
JValue(Double)
JValue(Decimal)
JValue(DateTimeOffset)
JValue(DateTime)
JValue(Char)
JValue(Boolean)
JValue(Guid)
Properties
HasValues
Type
Value
Methods
CompareTo(JValue)
Declaration
public int CompareTo (Newtonsoft.Json.Linq.JValue obj);
Parameters
JValue
obj
|
Returns
Int32
|
CreateComment(String)
Declaration
public static Newtonsoft.Json.Linq.JValue CreateComment (string value);
Parameters
String
value
|
Returns
JValue
|
CreateNull()
CreateString(String)
Declaration
public static Newtonsoft.Json.Linq.JValue CreateString (string value);
Parameters
String
value
|
Returns
JValue
|
CreateUndefined()
Equals(JValue)
Declaration
public bool Equals (Newtonsoft.Json.Linq.JValue other);
Parameters
JValue
other
|
Returns
Boolean
|
Equals(Object)
GetHashCode()
GetMetaObject(Expression)
Declaration
protected override System.Dynamic.DynamicMetaObject GetMetaObject (System.Linq.Expressions.Expression parameter);
Parameters
Expression
parameter
|
Returns
DynamicMetaObject
|
ToString(String, IFormatProvider)
Declaration
public string ToString (string format, IFormatProvider formatProvider);
Parameters
String
format
|
IFormatProvider
formatProvider
|
Returns
String
|
ToString(String)
ToString(IFormatProvider)
Declaration
public string ToString (IFormatProvider formatProvider);
Parameters
IFormatProvider
formatProvider
|
Returns
String
|
ToString()
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
|
Explicit Interface Implementations
IComparable.CompareTo(Object)
IConvertible.GetTypeCode()
IConvertible.ToBoolean(IFormatProvider)
Declaration
bool IConvertible.ToBoolean (IFormatProvider provider);
Parameters
IFormatProvider
provider
|
Returns
Boolean
|
IConvertible.ToByte(IFormatProvider)
Declaration
byte IConvertible.ToByte (IFormatProvider provider);
Parameters
IFormatProvider
provider
|
Returns
Byte
|
IConvertible.ToChar(IFormatProvider)
Declaration
char IConvertible.ToChar (IFormatProvider provider);
Parameters
IFormatProvider
provider
|
Returns
Char
|
IConvertible.ToDateTime(IFormatProvider)
Declaration
DateTime IConvertible.ToDateTime (IFormatProvider provider);
Parameters
IFormatProvider
provider
|
Returns
DateTime
|
IConvertible.ToDecimal(IFormatProvider)
Declaration
decimal IConvertible.ToDecimal (IFormatProvider provider);
Parameters
IFormatProvider
provider
|
Returns
Decimal
|
IConvertible.ToDouble(IFormatProvider)
Declaration
double IConvertible.ToDouble (IFormatProvider provider);
Parameters
IFormatProvider
provider
|
Returns
Double
|
IConvertible.ToInt16(IFormatProvider)
Declaration
short IConvertible.ToInt16 (IFormatProvider provider);
Parameters
IFormatProvider
provider
|
Returns
Int16
|
IConvertible.ToInt32(IFormatProvider)
Declaration
int IConvertible.ToInt32 (IFormatProvider provider);
Parameters
IFormatProvider
provider
|
Returns
Int32
|
IConvertible.ToInt64(IFormatProvider)
Declaration
long IConvertible.ToInt64 (IFormatProvider provider);
Parameters
IFormatProvider
provider
|
Returns
Int64
|
IConvertible.ToSByte(IFormatProvider)
Declaration
sbyte IConvertible.ToSByte (IFormatProvider provider);
Parameters
IFormatProvider
provider
|
Returns
SByte
|
IConvertible.ToSingle(IFormatProvider)
Declaration
float IConvertible.ToSingle (IFormatProvider provider);
Parameters
IFormatProvider
provider
|
Returns
Single
|
IConvertible.ToType(Type, IFormatProvider)
Declaration
object IConvertible.ToType (Type conversionType, IFormatProvider provider);
Parameters
Type
conversionType
|
IFormatProvider
provider
|
Returns
Object
|
IConvertible.ToUInt16(IFormatProvider)
Declaration
ushort IConvertible.ToUInt16 (IFormatProvider provider);
Parameters
IFormatProvider
provider
|
Returns
UInt16
|
IConvertible.ToUInt32(IFormatProvider)
Declaration
uint IConvertible.ToUInt32 (IFormatProvider provider);
Parameters
IFormatProvider
provider
|
Returns
UInt32
|
IConvertible.ToUInt64(IFormatProvider)
Declaration
ulong IConvertible.ToUInt64 (IFormatProvider provider);
Parameters
IFormatProvider
provider
|
Returns
UInt64
|