Caution
This method makes possible to create invalid JSON.
public static JsonValue CreateNumberUnchecked(
string value
)
Public Shared Function CreateNumberUnchecked (
value As String
) As JsonValue
public:
static JsonValue CreateNumberUnchecked(
String^ value
)
static member CreateNumberUnchecked :
value : string -> JsonValue
The Type property of the result will return Number even if value is not a valid number.
The AsLiteral property will return the specified value.
The AsNumber property of the result may return a less precise value, or even , though serializing to JSON by the ToString and WriteTo methods preserves the specified value.