.
) to separate nested property names:
parent.child
accesses a child propertyparent.child.grandchild
accesses a deeply nested propertyarray.0.property
accesses the first item in an array and its propertydata.title
→ “Product Update”data.metadata.author
→ “John Doe”data.metadata.date
→ “2024-01-30”data.tags.0
→ “product” (first tag in the array)status
results.user.id
results.user.profile.username
results.user.profile.email
version
settings.appearance.theme
settings.preferences.language
settings.preferences.notifications
orders.0.id
→ “ORD-001”orders.0.customer.name
→ “Alice Smith”orders.0.items.0.product
→ “Laptop”orders.0.items.1.price
→ 24.99parent.child
, not parent . child
)items.0
for the first item)