Property Chains
Property chains let you access deeply nested values in your JSON data by chaining of expressions.
Basic Chaining
To access data.Person.address.city, chain properties with of:
the __city__ of the __address__ of the **Person**Each of steps one level deeper into the object.
Interactive Example
Policy Rule
Test Data (JSON)
Deep Nesting
Chains can go as deep as needed:
the __multiple choice__ of the __theory__ of the __scores__ of the **driving test**This accesses data["driving test"].scores.theory["multiple choice"].
Interactive Example
Policy Rule
Test Data (JSON)
Nested Selectors as Alternative
For accessing nested objects, you can also use nested selectors with dot notation:
__score__ of **test.theory**This is equivalent to the __score__ of the __theory__ of the **test**, but shorter.
Tips
- Read chains right-to-left:
__city__ of __address__ of **Person**means “start at Person, go to address, get city” - Use
thefreely for readability — it’s ignored by the parser - Match property names to your JSON keys (the engine handles case conversion)