Operator Implicit
Implicit(Boolean to JsonValue)
Implicit operator overload to conveert boolean to JSONValue.
Declaration
public static implicit operator JsonValue(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value | Boolean value. |
Returns
Type | Description |
---|---|
JsonValue | Json value. |
Implicit(Byte to JsonValue)
Implicit operator overload to convert byte to JSONValue.
Declaration
public static implicit operator JsonValue(byte value)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | value | Byte value. |
Returns
Type | Description |
---|---|
JsonValue | Json value. |
Implicit(SByte to JsonValue)
Implicit operator overload to convert sbyte to JSONValue.
Declaration
public static implicit operator JsonValue(sbyte value)
Parameters
Type | Name | Description |
---|---|---|
System.SByte | value | Sbyte value. |
Returns
Type | Description |
---|---|
JsonValue | Json value. |
Implicit(Int16 to JsonValue)
Implicit operator overload to convert short to JSONValue.
Declaration
public static implicit operator JsonValue(short value)
Parameters
Type | Name | Description |
---|---|---|
System.Int16 | value | Short value. |
Returns
Type | Description |
---|---|
JsonValue | Json value. |
Implicit(UInt16 to JsonValue)
Implicit operator overload to convert ushort to JSONValue.
Declaration
public static implicit operator JsonValue(ushort value)
Parameters
Type | Name | Description |
---|---|---|
System.UInt16 | value | ushort value. |
Returns
Type | Description |
---|---|
JsonValue | Json value. |
Implicit(Int32 to JsonValue)
Implicit operator overload to convert int to JSONValue.
Declaration
public static implicit operator JsonValue(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | int value. |
Returns
Type | Description |
---|---|
JsonValue | Json value. |
Implicit(UInt32 to JsonValue)
Implicit operator overload to convert uint to JSONValue.
Declaration
public static implicit operator JsonValue(uint value)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | value | uint value. |
Returns
Type | Description |
---|---|
JsonValue | Json value. |
Implicit(Int64 to JsonValue)
Implicit operator overload to convert long to JSONValue.
Declaration
public static implicit operator JsonValue(long value)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | value | long value. |
Returns
Type | Description |
---|---|
JsonValue | Json value. |
Implicit(UInt64 to JsonValue)
Implicit operator overload to convert ulong to JSONValue
Declaration
public static implicit operator JsonValue(ulong value)
Parameters
Type | Name | Description |
---|---|---|
System.UInt64 | value | ulong value. |
Returns
Type | Description |
---|---|
JsonValue | Json value. |
Implicit(Single to JsonValue)
Implicit operator overload to convert float to JSONValue.
Declaration
public static implicit operator JsonValue(float value)
Parameters
Type | Name | Description |
---|---|---|
System.Single | value | float value. |
Returns
Type | Description |
---|---|
JsonValue | Json value. |
Implicit(Double to JsonValue)
Implicit operator overload to convert double to JSONValue.
Declaration
public static implicit operator JsonValue(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value | Double value. |
Returns
Type | Description |
---|---|
JsonValue | Json value. |
Implicit(Decimal to JsonValue)
Implicit operator overload to convert decimal to JSONValue.
Declaration
public static implicit operator JsonValue(decimal value)
Parameters
Type | Name | Description |
---|---|---|
System.Decimal | value | Decimal value. |
Returns
Type | Description |
---|---|
JsonValue | Json value. |
Implicit(DateTime to JsonValue)
Implicit operator overload to conert DateTime to JSONValue with standard format and culture.
Declaration
public static implicit operator JsonValue(DateTime value)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | value | DateTime value. |
Returns
Type | Description |
---|---|
JsonValue | Json value. |
Implicit(BigInteger to JsonValue)
Implicit operator overload to convert BigInteger to JSONValue.
Declaration
public static implicit operator JsonValue(BigInteger value)
Parameters
Type | Name | Description |
---|---|---|
System.Numerics.BigInteger | value | BigInteger value. |
Returns
Type | Description |
---|---|
JsonValue | Json value. |