MiSawa / xq

Pure rust implementation of jq
MIT License
318 stars 18 forks source link

"\u007f" is printed without escaped #145

Closed itchyny closed 2 years ago

itchyny commented 2 years ago

Not sure where the difference come from, but I noticed following behavior.

❯ jq -n '"\u007f"'
"\u007f"

❯ xq -n '"\u007f"'
""

❯ xq -n '"\u007f"' | xxd -p
227f220a
MiSawa commented 2 years ago

Hmm interesting, both serde_json and serde_yaml don't escape 0x7f...

itchyny commented 2 years ago

Okay, feel free to close, most users would not notice this difference.