Skip to main content

FrameState

This enum represents the current state of a traversal frame when matching paths against a JSON structure. It manages iteration through exact field matches, nested JSON objects with potential key matches, and nested JSON arrays where specific indices are tracked via a lookup tree.

Attributes

AttributeTypeDescription
Fieldsstd::slice::Iter< 'a, LookupFieldInfo >Iterating through all fields that match exactly this path.
NestedObjectstd::slice::Iter< 'a, (Cow< 'j, str >, JsonValue< 'j >) >Iterating through a JSON object at this path which might have matches on its keys.
NestedArraystd::collections::hash_map::Iter< 'a, i64, LookupTreeNode >Iterating through a JSON array at this path which might have matches on its indices.