Json path filter

I have managed to get the selectattr to work, but had to use “match” as a test type

{{ value_json | selectattr('id', 'match', 'BTC') | map(attribute='price') | list  | first | round(4)  }} 

Thank you.

3 Likes