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

JsonPath like function? #324

Closed
ghost opened this issue May 10, 2017 · 3 comments
Closed

JsonPath like function? #324

ghost opened this issue May 10, 2017 · 3 comments

Comments

@ghost
Copy link

ghost commented May 10, 2017

I have had a look at enough JsonPath implementations and, so far, they turned out to be garbage having all kinds of different problems.

Are there any plans to add a JsonPath functionality to libjson-c?

The following XPath expression
/store/book[1]/title
would look like
x.store.book[0].title
or
x['store']['book'][0]['title']

Or is there an JsonPath implementation (that has no other dependencies than libjson-c) i am not aware of?

@ploxiln
Copy link
Contributor

ploxiln commented May 10, 2017

I think what you're looking for was added to master in #283 and #287

@ghost
Copy link
Author

ghost commented May 10, 2017

That is exactly what I am looking for... :D

Thanks.

@ghost ghost closed this as completed May 10, 2017
@jtojnar
Copy link

jtojnar commented Feb 24, 2024

@hawicz JSONPath has recently received a RFC. Would you be open to PRs implementing (possibly a subset of) that?

This issue was closed.
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

No branches or pull requests

2 participants