-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[JsonPath] Add documentation #21078
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
[JsonPath] Add documentation #21078
Conversation
828b6d1
to
4825f3d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quick first review, thank you for taking this over!
4825f3d
to
b247407
Compare
->key('book') // Then the 'book' key | ||
->index(1); // Then the item at index 1 (the second book) | ||
|
||
// The created $path object is equivalent to the string '$["store"]["book"][1]' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, however the only syntax we explained above is $.store.book[1]
. We should maybe show this alternative first ? Maybe ~L94
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggested something, is that all right with you?
b247407
to
d4056c3
Compare
d4056c3
to
abc2df6
Compare
Thanks @vinceAmstoutz for working on this feature, this is much appreciated. |
Fixes #20977 by replacing the work started in PR #20974 by @RisingSunLight42