JsonValue.Parse Method
Deserializes text-based JSON into a JSON CLR type.
Namespace: System.Json
Assembly: System.Json (in System.Json.dll)
Parameters
- jsonString
- Type: System.String
The text-based JSON to be parsed into a JSON CLR type.
Return Value
Type: System.Json.JsonValueThe JsonValue object that represents the parsed text-based JSON as a CLR type.
| Exception | Condition |
|---|---|
| ArgumentException |
The length of jsonString is zero. |
| ArgumentNullException |
jsonString is null. |
The text is cast into JsonPrimitive, JsonArray, or JsonObject when deserialized depending on the text-based JSON supplied to the method.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.