KGy SOFT

JsonValueParse Method (Stream, Encoding)

KGy SOFT JSON Libraries Help
Reads a JsonValue from a Stream that contains JSON data.

Namespace:  KGySoft.Json
Assembly:  KGySoft.Json (in KGySoft.Json.dll) Version: 2.0.1
Syntax

public static JsonValue Parse(
	Stream stream,
	Encoding? encoding = null
)

Parameters

stream
Type: System.IOStream
A Stream that will be read for the JsonValue content.
encoding (Optional)
Type: System.TextEncoding
An Encoding that specifies the encoding of the JSON data in the stream. If , then UTF8 encoding will be used. This parameter is optional.
Default value: .

Return Value

Type: JsonValue
A JsonValue that contains the JSON data that was read from the specified stream.
See Also

Reference