| JsonValue Class |
Namespace: Dextronet.Jsonie
The JsonValue type exposes the following members.
| Name | Description | |
|---|---|---|
| IsArray |
Tests if this is JSON array.
| |
| IsBoolean |
Tests if this is boolean.
| |
| IsNumber |
Test if this is JSON number.
| |
| IsObject |
Tests if this is JSON object.
| |
| IsScalar |
Tests if this is JSON string or number or boolean.
| |
| IsString |
Tests if this is JSON string.
|
| Name | Description | |
|---|---|---|
| From |
Converts object to matching JsonValue.
Supports conversion of numbers, strings and dates including nullable versions.
| |
| ToJson |
Gets to JSON encoded string representing this object.
|
| Name | Description | |
|---|---|---|
| (Boolean to JsonValue) | ||
| (Decimal to JsonValue) |
Performs an implicit conversion from Decimal to JsonNumber.
| |
| (Double to JsonValue) |
Performs an implicit conversion from Double to JsonNumber.
| |
| (Int32 to JsonValue) |
Performs an implicit conversion from Int32 to JsonNumber.
| |
| (Int64 to JsonValue) |
Performs an implicit conversion from Int64 to JsonNumber.
| |
| (NullableBoolean to JsonValue) | ||
| (NullableDecimal to JsonValue) |
Performs an implicit conversion from nullable Decimal to JsonNumber.
| |
| (NullableDouble to JsonValue) |
Performs an implicit conversion from nullable Double to JsonNumber.
| |
| (NullableInt32 to JsonValue) |
Performs an implicit conversion from nullable Int32 to JsonNumber.
| |
| (NullableInt64 to JsonValue) |
Performs an implicit conversion from nullable Int64 to JsonNumber.
| |
| (NullableSingle to JsonValue) |
Performs an implicit conversion from nullable Single to JsonNumber.
| |
| (Single to JsonValue) |
Performs an implicit conversion from Single to JsonNumber.
| |
| (String to JsonValue) |
Performs an implicit conversion from String to JsonString.
|
| Name | Description | |
|---|---|---|
| AsArray |
Casts (CType) value to JsonObject.
(Defined by JsonValueExtensions.) | |
| AsBoolean |
Casts (CType) value to JsonBool.
(Defined by JsonValueExtensions.) | |
| AsNumber |
Casts (CType) value to JsonNumber.
(Defined by JsonValueExtensions.) | |
| AsObject |
Casts (CType) value to JsonObject.
(Defined by JsonValueExtensions.) | |
| AsString |
Casts (CType) value to JsonString.
(Defined by JsonValueExtensions.) | |
| ToDynamic |
Wraps given json value to dynamic type.
(Defined by JsonValueExtensions.) |