JsonArrayParse(Stream, Encoding) Method

Reads a JsonArray from a Stream that contains JSON array.

Definition

Namespace: KGySoft.Json
Assembly: KGySoft.Json (in KGySoft.Json.dll) Version: 3.0.0
C#
public static JsonArray Parse(
	Stream stream,
	Encoding? encoding = null
)

Parameters

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

Return Value

JsonArray
A JsonArray that contains the JSON array data that was read from the specified stream.

See Also