Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: bool TryParse(string, out JsonValue)

Declaration

public static bool TryParse(
    string jsonValue,
    out JsonValue result
)

Summary

Attempts to parse the specified string into a JSON value.

Parameters

stringjsonValue A string containing JSON syntax.
out JsonValueresult Receives the JsonValue representing the value, or null if unsuccessful. (But note that null is also a possible valid value in case of success.)

Returns

True if parsing was successful; otherwise, false.