Open JaZo opened 1 year ago
Describe the bug I use a complex JMESPath projection, which works just fine, but the expression editor has incorrect "syntax highlighting" and gives "[invalid syntax]" as result.
To Reproduce Use this expression:
{{ $jmespath($json, '{reviewers: values[*].{uuid: user.uuid}}') }}
With this input:
{ "values": [{ "user": { "uuid": "foo" } }, { "user": { "uuid": "bar" } } ] }
Expected behavior I'd expect correct "syntax highlighting" and result preview.
Environment (please complete the following information):
Additional context The projection is perfectly fine when you try it in the tutorial.
Thanks for reporting this.
}} can be escaped in most cases with \ inside strings but this is not an option here.
}}
\
Tracking under: https://linear.app/n8n/issue/PAY-760
Describe the bug I use a complex JMESPath projection, which works just fine, but the expression editor has incorrect "syntax highlighting" and gives "[invalid syntax]" as result.
To Reproduce Use this expression:
With this input:
Expected behavior I'd expect correct "syntax highlighting" and result preview.
Environment (please complete the following information):
Additional context The projection is perfectly fine when you try it in the tutorial.