Index of nested values
Illest-Maestro opened this issue · 1 comments
Illest-Maestro commented
Hello,
Would love to be able to get certain indexes of nested values. The API I use uses the same values over and over again. Example:
"skills": [
{
"name": "Negotiation",
"endorsements": "6"
},
{
"name": "Sales",
"endorsements": "4"
},
{
"name": "Procurement",
"endorsements": "3"
}
Also I'm having trouble getting the filter to work when I haven't had trouble with it in the past. What am I missing?
thisdavej commented
Retrieving values in nested arrays is supported feature.
In your example, you can get the value of name
for the first skill
using the following template syntax:
{{skills[0].name}}
Likewise, you can get the value for the name of the second skill using {{skills[1].name}}
, etc.