JsonNumber Class |
Namespace: Dextronet.Jsonie
The JsonNumber type exposes the following members.
Name | Description | |
---|---|---|
JsonNumber(Decimal) |
Creates new JSON number of specified value.
| |
JsonNumber(Double) |
Creates new JSON number of specified value.
| |
JsonNumber(Int32) |
Creates new JSON number of specified value.
| |
JsonNumber(Int64) |
Creates new JSON number of specified value.
| |
JsonNumber(Single) |
Creates new JSON number of specified value.
|
Name | Description | |
---|---|---|
DoubleValue |
Gets the double value.
| |
IntegerValue |
Gets the integer value.
| |
LongValue |
Gets the long value.
| |
SingleValue |
Gets the single value.
| |
Value |
Gets the decimal value.
|
Name | Description | |
---|---|---|
Equals(Object) |
Determines whether current object is equal to another object.
(Overrides ObjectEquals(Object).) | |
Equals(JsonDynamic) |
Determines whether current object is equal to another object.
| |
Equals(JsonNumber) |
Determines whether current object is equal to another object.
| |
GetHashCode |
Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode.) |
Name | Description | |
---|---|---|
Equality |
Test whether values of its operands are equal or both null.
| |
(Decimal to JsonNumber) |
Performs an implicit conversion from Decimal to JsonNumber.
| |
(Double to JsonNumber) |
Performs an implicit conversion from Double to JsonNumber.
| |
(Int32 to JsonNumber) |
Performs an implicit conversion from Int32 to JsonNumber.
| |
(Int64 to JsonNumber) |
Performs an implicit conversion from Int64 to JsonNumber.
| |
(NullableDecimal to JsonNumber) |
Performs an implicit conversion from nullable Decimal to JsonNumber.
| |
(NullableDouble to JsonNumber) |
Performs an implicit conversion from nullable Double to JsonNumber.
| |
(NullableInt32 to JsonNumber) |
Performs an implicit conversion from nullable Int32 to JsonNumber.
| |
(NullableInt64 to JsonNumber) |
Performs an implicit conversion from nullable Int64 to JsonNumber.
| |
(NullableSingle to JsonNumber) |
Performs an implicit conversion from nullable Single to JsonNumber.
| |
(Single to JsonNumber) |
Performs an implicit conversion from Single to JsonNumber.
| |
(JsonNumber to NullableDecimal) |
Performs an implicit conversion from JsonNumber to Decimal.
| |
Inequality |
Test whether values of its operands are inequal.
|
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.) |