JsonValue.Load Method
Deserializes text-based JSON from a text reader or stream into a JSON CLR type.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
Load(Stream) | Deserializes text-based JSON from a stream into a JSON CLR type. |
|
Load(TextReader) | Deserializes text-based JSON from a text reader into a JSON CLR type. |
The text-based JSON is cast into JsonPrimitive, JsonArray, or JsonObject depending on the text-based JSON supplied to the method.
There are two overloads provided: one gets text-based JSON from a text reader and the other from a stream. Note that these methods are static and can be called on any text-based JSON content and cast to the appropriate JSON type automatically.