Glossary
Minted document
A minted document is a document created when you merge your template with your data.
Path
A path is a string used to access a property deep within the data being merged with your template. For accessing nested properties within an object, use a .
to access nested properties and []
to access a specific item in an array.
For example, if we wanted to get the name of the first item in the list of items in the data below, we would use the following path items[0].name
. We use [0]
to access the first item because lists are zero-based, then we use .name
to access the name property value in the first item.
In the first example, we're giving the path to the price
property of the first item in the items
array. In the second example, we're giving the path to the more deeply nested customer street address.
Last updated