JsonValueTryParse(String, JsonValue) Method

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

Definition

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

Parameters

s  String
A string 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