Declaration
public static JsonValue Parse(
string jsonValue,
bool allowJavaScript = false
)
Summary
Parses the specified string into a JSON value.
Parameters
string | jsonValue |
A string containing JSON syntax. |
bool | allowJavaScript |
True to allow certain notations that are allowed in JavaScript but not strictly in JSON: -
allows keys in dictionaries to be unquoted
-
allows strings to be delimited with single-quotes in addition to double-quotes
|
Returns
A
JsonValue instance representing the value.