JsonValue Conversion (NullableUInt64 to JsonValue)
Note: This API is now obsolete.
Performs an implicit conversion from nullable
ulong to
JsonValue.
This operator exists only to produce a warning because otherwise the implicit conversion from double would also match
UInt64 values.
Namespace: KGySoft.JsonAssembly: KGySoft.Json (in KGySoft.Json.dll) Version: 3.0.0
public static implicit operator JsonValue (
ulong? value
)
Public Shared Widening Operator CType (
value As ULong?
) As JsonValue
static implicit operator JsonValue (
Nullable<unsigned long long> value
)
F# does not support the declaration of new casting operators.
- value NullableUInt64
- The value to be converted to a JsonValue.
JsonValue
A
JsonValue instance that represents the original value.
Obsolete Note: Using
UInt64 as a JSON Number may cause loss of precision.
It is recommended to use the
ToJson extension method instead.
You can pass
to the
asString parameter to express your intention and to avoid this warning.