You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- is not valid in unquoted identifiers as it is used for negative numbers
But the simulator on the jmespath front page does not complain.
I wasn't familiar with jmespath and tried to build a valid expression, then carried it to the application I wanted to use it with and wondered for some hours why it didn't do what I wanted.
Example:
Expression: contains(resource_access.monitoring-application.roles[*], 'admin') && 'I am ze admin!'
According to the spec (and jmespath/jmespath.rb#12),
But the simulator on the jmespath front page does not complain.
I wasn't familiar with jmespath and tried to build a valid expression, then carried it to the application I wanted to use it with and wondered for some hours why it didn't do what I wanted.
Example:
Expression:
contains(resource_access.monitoring-application.roles[*], 'admin') && 'I am ze admin!'
Document:
The above should not be valid, but returns "I am ze admin!".
The go implementation errors out with "SyntaxError: Invalid token: tNumber"
The text was updated successfully, but these errors were encountered: