Class JsonValue
Maps values other than JObject and JArray in JSON standards to primitive value types
Inherited Members
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public sealed class JsonValue : JsonValueBase
Methods
Name | Description |
---|---|
Equals(Object) | Checks if obj 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 |
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 16 |
ToUInt64() | Attempts to convert JSON value to unsigned int 64 |
Operators
Name | Description |
---|---|
Explicit(String to JsonValue) | Implicit operator overload for string JSONValue |
Implicit(Boolean to JsonValue) | Implicit operator overload for boolean JSONValue |
Implicit(Byte to JsonValue) | Implicit operator overload for byte JSONValue |
Implicit(DateTime to JsonValue) | Implicit operator overload for DateTime JSONValue with standard format and culture |
Implicit(Decimal to JsonValue) | Implicit operator overload for decimal JSONValue |
Implicit(Double to JsonValue) | Implicit operator overload for double JSONValue |
Implicit(Int16 to JsonValue) | Implicit operator overload for short JSONValue |
Implicit(Int32 to JsonValue) | Implicit operator overload for int JSONValue |
Implicit(Int64 to JsonValue) | Implicit operator overload for long JSONValue |
Implicit(BigInteger to JsonValue) | |
Implicit(SByte to JsonValue) | Implicit operator overload for sbyte JSONValue |
Implicit(Single to JsonValue) | Implicit operator overload for float JSONValue |
Implicit(UInt16 to JsonValue) | Implicit operator overload for ushort JSONValue |
Implicit(UInt32 to JsonValue) | Implicit operator overload for uint JSONValue |
Implicit(UInt64 to JsonValue) | Implicit operator overload for ulong JSONValue |