Click or drag to resize
Json.NETJArrayParse Method
 
Load a JArray from a string that contains JSON.

Namespace: Newtonsoft.Json.Linq
Assembly: Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 7.0.0.0 (7.0.1.18406)
Syntax
C#
public static JArray Parse(
	string json
)

Parameters

json
Type: SystemString
A String that contains JSON.

Return Value

Type: JArray
A JArray populated from the string that contains JSON.
Examples
Parsing a JSON Array from Text
1string json = @"[
2  'Small',
3  'Medium',
4  'Large'
5]";
6
7JArray a = JArray.Parse(json);
See Also