IJsonProxyNode
Namespace: SnowBank.Data.Json · interface
Node in the hierarchy of a document proxy
Properties
Depth
int Depth { get; }
Number of nodes between the root and this node
Parent
IJsonProxyNode Parent { get; }
Parent of this node
If null, this node if the root of the wrapped document
Segment
JsonPathSegment Segment { get; }
Segment of path from the parent to this node
Type
JsonType Type { get; }
Type of JSON value wrapped by this node
Methods
GetPath
JsonPath GetPath()
Returns the path to this node, from the root
JsonPath GetPath(JsonPathSegment child)
Returns the path to a child of this value, from the root
WritePath
void WritePath(ref JsonPathBuilder builder)
Write the path from the root to this node
builder— Builder for the path