(solved) Extract a nested array value in JSON

I believe the word items is a reserved word and so its usage becomes ambiguous when you use dot-notation.

Change it to bracket-notation (which clarifies the meaning of items) and it should work:

{{ value_json["items"][0].value }}

alternately, this (completely in bracket-notation):

{{ value_json["items"][0]["value"] }}

For more information, see this post:


Screenshot from Template Editor confirming it works:

1 Like