Declaration
public virtual bool TryGetValue(
string key,
out JsonValue value
)
Summary
Attempts to retrieve the value associated with the specified
key if this is a
JsonDict; otherwise, throws.
Parameters
string | key |
The key for which to try to retrieve the value. |
out JsonValue | value |
Receives the value associated with the specified key, or null if the key is not in the
dictionary. (Note that null may also be a valid value in case of success.) |
Returns
True if the key was in the dictionary; otherwise, false.