Struct JsonValue
Represents a primitive JSON value, which can be a JSON number, a string, or one of the literals true, false, and null.
Inherited Members
Namespace: DevZest.Data
Assembly: DevZest.Data.dll
Syntax
public struct JsonValue
Fields
Name | Description |
---|---|
False | Gets the JSON literal false. |
Null | Gets the JSON literal null. |
Text | Gets the text of this value. |
True | Gets the JSON literal true. |
Type | Gets the type of this value. |
Properties
Name | Description |
---|---|
IsDefault | Gets a value indicates whether this JSON value is default. |
Methods
Name | Description |
---|---|
Char(Nullable<Char>) | Converts a char value into JSON value. |
DateTime(Nullable<DateTime>) | Converts a DateTime value into JSON value. |
DateTime(Nullable<DateTime>, String) | Converts a char value into JSON value, with specified format. |
Guid(Nullable<Guid>) | Converts a Guid value into JSON value. |
Number(Byte) | Converts a byte value into number JSON value. |
Number(Decimal) | Converts a Decimal value into number JSON value. |
Number(Double) | Converts a Double value into number JSON value. |
Number(Int16) | Converts a Int16 value into number JSON value. |
Number(Int32) | Converts a Int32 value into number JSON value. |
Number(Int64) | Converts a Int64 value into number JSON value. |
Number(Nullable<Byte>) | Converts a byte value into number JSON value. |
Number(Nullable<Decimal>) | Converts a Decimal value into number JSON value. |
Number(Nullable<Double>) | Converts a Double value into number JSON value. |
Number(Nullable<Int16>) | Converts a Int16 value into number JSON value. |
Number(Nullable<Int32>) | Converts a Int32 value into number JSON value. |
Number(Nullable<Int64>) | Converts a Int64 value into number JSON value. |
Number(Nullable<Single>) | Converts a Single value into number JSON value. |
Number(Single) | Converts a Single value into number JSON value. |
Number(String) | Converts a String value into number JSON value. |
String(String) | Converts a value into string JSON value. |
ToString() |