JsonValue.Parse Method

Silverlight

Deserializes text-based JSON into a JSON CLR type.

Namespace:  System.Json
Assembly:  System.Json (in System.Json.dll)

public static JsonValue Parse(
	string jsonString
)

Parameters

jsonString
Type: System.String
The text-based JSON to be parsed into a JSON CLR type.

Return Value

Type: System.Json.JsonValue
The JsonValue object that represents the parsed text-based JSON as a CLR type.

ExceptionCondition
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.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: