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

How does it compare to jq? #44

Closed
mkpankov opened this issue Jun 4, 2020 · 3 comments
Closed

How does it compare to jq? #44

mkpankov opened this issue Jun 4, 2020 · 3 comments

Comments

@mkpankov
Copy link

mkpankov commented Jun 4, 2020

Is it expected to be a drop-in replacement? Or just inspired by it? Any difference besides being implemented in Rust?

@yamafaktory
Copy link
Owner

Hi @mkpankov!

The motivation behind this tool is neither to be a drop-in replacement nor something inspired by jq. jq API / features set is way beyond what jql tries to provide: a simple set of features that helps you dealing with JSON data. The grammar for the selectors is also quite different (it was slightly discussed here https://news.ycombinator.com/item?id=23316685).

Also jql is "presumably" faster than jq, on comparable features, see #43 (because it's using serde & rayon underneath, which are fast). jq also tries to be a safer alternative, it tries to provide meaningful error messages.

Regarding this issue, would you mind if we continue the thread in #43? Or do you see it differently?

@mkpankov
Copy link
Author

mkpankov commented Jun 4, 2020

Ah, thanks. It's clear enough, I'm closing this issue.

@mkpankov mkpankov closed this as completed Jun 4, 2020
@pickfire
Copy link

But IMHO jql is takes more effort compared to jq on extracting stuff considering it needs to type so many double quotes.

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

3 participants