KGy SOFT

JsonValue  Conversion (NullableUInt64 to JsonValue)

KGy SOFT JSON Libraries Help

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.Json
Assembly:  KGySoft.Json (in KGySoft.Json.dll) Version: 2.0.1
Syntax

public static implicit operator JsonValue (
	ulong? value
)

Parameters

value
Type: SystemNullableUInt64
The value to be converted to a JsonValue.

Return Value

Type: JsonValue
A JsonValue instance that represents the original value.
Remarks

Note Note
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.
See Also

Reference