Would be nice to have a control over JSON path creation
tpoxa opened this issue · comments
Maksym Trofimenko commented
Updated!
I would like to determine the element of the array by its "id" instead of its position number, which may vary in unsorted arrays.
Like in the JsonPath example
book[?(@.author=='J.R.R. Tolkien')].title
instead of
book[0].title
Is that possible to create a new option/or use an existing one to have such control over a path creation? Unfortunately, I am no js developer, but if the team says that such an option is possible, I will try to make a PR for that.
Thank you.