Click or drag to resize
Json.NET

JArrayParse Method (String)

 
Load a JArray from a string that contains JSON.

Namespace:  Newtonsoft.Json.Linq
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
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
string json = @"[
  'Small',
  'Medium',
  'Large'
]";

JArray a = JArray.Parse(json);
See Also