Method TryGetProperty
- Namespace
- RuleWright.Serialization
- Assembly
- RuleWright.Serialization.dll
TryGetProperty(string, out RuleJsonValue)
Looks up an object property by exact (ordinal) name.
public bool TryGetProperty(string name, out RuleJsonValue value)
Parameters
namestringThe property name.
valueRuleJsonValueThe property value when found.
Returns
- bool
Whether the property exists (only ever true for object nodes).