This topic has not yet been rated - Rate this topic

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
Public method Static member Load(Stream) Deserializes text-based JSON from a stream into a JSON CLR type.
Public method Static member Load(TextReader) Deserializes text-based JSON from a text reader into a JSON CLR type.
Top

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ