Table of Contents

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

name string

The property name.

value RuleJsonValue

The property value when found.

Returns

bool

Whether the property exists (only ever true for object nodes).