JsonValue.Load Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Load(Stream) | |
Load(TextReader) |
Load(Stream)
public:
static System::Json::JsonValue ^ Load(System::IO::Stream ^ stream);
public static System.Json.JsonValue Load (System.IO.Stream stream);
static member Load : System.IO.Stream -> System.Json.JsonValue
Public Shared Function Load (stream As Stream) As JsonValue
Parameters
- stream
- Stream
Returns
Remarks
Note
The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.
Applies to
Load(TextReader)
public:
static System::Json::JsonValue ^ Load(System::IO::TextReader ^ textReader);
public static System.Json.JsonValue Load (System.IO.TextReader textReader);
static member Load : System.IO.TextReader -> System.Json.JsonValue
Public Shared Function Load (textReader As TextReader) As JsonValue
Parameters
- textReader
- TextReader
Returns
Remarks
Note
The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.