We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I'm trying to use data dynamically bested on my inputs. Consider the following json:
{ "my_item": "item2", "items": { "item1": { "value": "5" }, "item2": { "value": "10" } } }
I wish to access the right item based on the value of my_item, that is, in this case: item2.value. I tried {{items.{{my_item}}.value}} but no luck.
my_item
item2.value
{{items.{{my_item}}.value}}
Is there another way to achieve this?
Thanks Omer
The text was updated successfully, but these errors were encountered:
Nevermind.. I got this to work... If anyone is interested, use: "{{ at(at(items, my_item), \"value\") }}"
"{{ at(at(items, my_item), \"value\") }}"
Sorry, something went wrong.
No branches or pull requests
Hello,
I'm trying to use data dynamically bested on my inputs.
Consider the following json:
I wish to access the right item based on the value of
my_item
, that is, in this case:item2.value
.I tried
{{items.{{my_item}}.value}}
but no luck.Is there another way to achieve this?
Thanks
Omer
The text was updated successfully, but these errors were encountered: