Json.NET Documentation
Json.NET Documentation
API Reference
Newtonsoft.Json.Linq
JToken Class
JToken Methods
Parse Method
Parse Method (String)
Parse Method (String, JsonLoadSettings)
JToken
Parse Method (String, JsonLoadSettings)
Load a
JToken
from a string that contains JSON.
Namespace:
Newtonsoft.Json.Linq
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
Copy
public
static
JToken
Parse
(
string
json
,
JsonLoadSettings
settings
)
Parameters
json
Type:
System
String
A
String
that contains JSON.
settings
Type:
Newtonsoft.Json.Linq
JsonLoadSettings
The
JsonLoadSettings
used to load the JSON. If this is
null
, default load settings will be used.
Return Value
Type:
JToken
A
JToken
populated from the string that contains JSON.
See Also
Reference
JToken Class
Parse Overload
Newtonsoft.Json.Linq Namespace
Json.NET Home