Caution
This method makes possible to create invalid JSON.
public static JsonValue CreateLiteralUnchecked(
string value
)
Public Shared Function CreateLiteralUnchecked (
value As String
) As JsonValue
public:
static JsonValue CreateLiteralUnchecked(
String^ value
)
static member CreateLiteralUnchecked :
value : string -> JsonValue
The Type property of the result will return UnknownLiteral even if value is actually a valid JSON literal.
The AsLiteral property will return the specified value.
Serializing to JSON by the ToString and WriteTo methods preserves the specified value.