simeji/jid

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

dolmen opened this issue · 1 comments

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

Input file:

{
    "\"": "key with double quote: success!",
}

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.