Skip to content
New issue

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

update trigger_agent w/ valid example #2713

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fredericrous
Copy link

This simple change could make the example more accurate and therefore help new comers .
I just lost 30min not understanding why the agent wasn't working thinking it was due to my regex

@dsander
Copy link
Collaborator

dsander commented Mar 29, 2020

Hmm that should not make any difference, as far as I know the leading $. is optional:

[1] pry(main)> Utils.value_at({'data' => 'test'}, 'data')
=> "test"
[2] pry(main)> Utils.value_at({'data' => 'test'}, '$.data')
=> "test"

Do you still remember what kind of problem you had with a JSONPath expression that did not have the leading $.?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants