Class JsonValue
Maps values other than the JObject and JArray in JSON standards to primitive value types.
Inherited Members
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public sealed class JsonValue : JsonValueBase
Methods
Name | Description |
---|---|
Equals(Object) | Checks if object is equal to JSON value object. |
GetHashCode() | Gets HashCode of the value. |
ToBoolean() | Attempts to convert JSON value to boolean. |
ToByte() | Attempts to convert JSON value to byte. |
ToDateTime() | Attempts to convert JSON value to DateTime with standard format and culture. |
ToDateTime(String, IFormatProvider) | Attempts to convert JSON value to DateTime with provided format. |
ToDecimal() | Attempts to convert JSON value to decimal. |
ToDouble() | Attempts to convert JSON value to double. |
ToFloat() | Attempts to convert JSON value to float. |
ToInt16() | Attempts to convert JSON value to short. |
ToInt32() | Attempts to convert JSON value to int 32. |
ToInt64() | Attempts to convert JSON value to int 64. |
ToSByte() | Attempts to convert JSON value to sbyte. |
ToString() | Represents in string format. |
ToStringValue() | Attempts to convert JSON value to string. |
ToUInt16() | Attempts to convert JSON value to unsigned int 16. |
ToUInt32() | Attempts to convert JSON value to unsigned int 32. |
ToUInt64() | Attempts to convert JSON value to unsigned int 64. |
Operators
Name | Description |
---|---|
Explicit(String to JsonValue) | Explicit operator overload to convert string to JSONValue. |
Implicit(Boolean to JsonValue) | Implicit operator overload to conveert boolean to JSONValue. |
Implicit(Byte to JsonValue) | Implicit operator overload to convert byte to JSONValue. |
Implicit(DateTime to JsonValue) | Implicit operator overload to conert DateTime to JSONValue with standard format and culture. |
Implicit(Decimal to JsonValue) | Implicit operator overload to convert decimal to JSONValue. |
Implicit(Double to JsonValue) | Implicit operator overload to convert double to JSONValue. |
Implicit(Int16 to JsonValue) | Implicit operator overload to convert short to JSONValue. |
Implicit(Int32 to JsonValue) | Implicit operator overload to convert int to JSONValue. |
Implicit(Int64 to JsonValue) | Implicit operator overload to convert long to JSONValue. |
Implicit(BigInteger to JsonValue) | Implicit operator overload to convert BigInteger to JSONValue. |
Implicit(SByte to JsonValue) | Implicit operator overload to convert sbyte to JSONValue. |
Implicit(Single to JsonValue) | Implicit operator overload to convert float to JSONValue. |
Implicit(UInt16 to JsonValue) | Implicit operator overload to convert ushort to JSONValue. |
Implicit(UInt32 to JsonValue) | Implicit operator overload to convert uint to JSONValue. |
Implicit(UInt64 to JsonValue) | Implicit operator overload to convert ulong to JSONValue |