JsonObjectParse(Stream, Encoding) Method
Namespace: KGySoft.JsonAssembly: KGySoft.Json (in KGySoft.Json.dll) Version: 3.0.0
public static JsonObject Parse(
Stream stream,
Encoding? encoding = null
)
Public Shared Function Parse (
stream As Stream,
Optional encoding As Encoding = Nothing
) As JsonObject
public:
static JsonObject^ Parse(
Stream^ stream,
Encoding^ encoding = nullptr
)
static member Parse :
stream : Stream *
?encoding : Encoding
(* Defaults:
let _encoding = defaultArg encoding null
*)
-> JsonObject
- stream Stream
- A Stream that will be read for the JsonObject content.
- encoding Encoding (Optional)
- An Encoding that specifies the encoding of the JSON object data in the stream.
If , then UTF8 encoding will be used. This parameter is optional.
Default value: .
JsonObjectA
JsonObject that contains the JSON object data that was read from the specified
stream.