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

Key containing double quote doesn't produce a valid jq expression #45

Open
dolmen opened this issue Dec 11, 2016 · 1 comment
Open

Key containing double quote doesn't produce a valid jq expression #45

dolmen opened this issue Dec 11, 2016 · 1 comment

Comments

@dolmen
Copy link

dolmen commented Dec 11, 2016

To reach success in the following file, the jq expression is .["\""]. But jid produces ."

Input file:

{
    "\"": "key with double quote: success!",
}
@fiatjaf
Copy link

fiatjaf commented Mar 2, 2017

That's because jid doesn't use jq internally, it has its own JSON parser. If you're interested in a fork that do uses jq and in which .["\""] will actually work, try https://github.com/fiatjaf/jiq.

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