Json.NET - Quick Starts & API Documentation
Load Method (reader)
Namespaces ► Newtonsoft.Json.Linq ► JToken ► Load(JsonReader)
Creates a JToken from a JsonReader.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static JToken Load( JsonReader reader )
Public Shared Function Load ( _ reader As JsonReader _ ) As JToken
public: static JToken^ Load( JsonReader^ reader )
Parameters
- reader (JsonReader)
- An JsonReader positioned at the token to read into this JToken.
Return Value
An JToken that contains the token and its descendant tokens
that were read from the reader. The runtime type of the token is determined
by the token type of the first token encountered in the reader.