JsonValueTryParse(TextReader, JsonValue) Method

Tries to read a JsonValue from a TextReader that contains JSON data.

Definition

Namespace: KGySoft.Json
Assembly: KGySoft.Json (in KGySoft.Json.dll) Version: 3.0.0
C#
public static bool TryParse(
	TextReader reader,
	out JsonValue value
)

Parameters

reader  TextReader
A TextReader that will be read for the JsonValue content.
value  JsonValue
When this method returns , the result of the parsing; otherwise, Undefined. This parameter is passed uninitialized.

Return Value

Boolean
if the parsing was successful; otherwise, .

See Also