4 ms·
Shameless plug: if you really like jq, I built a project that uses libjq to process various formats. https://github.com/jzelinskie/faq https://github.com/jzeli
by jzelinskie 7y ago
Shameless plug: if you really like jq, I built a project that uses libjq to process various formats.
https://github.com/jzelinskie/faq https://github.com/jzelinskie/faq
- loeg 7y agoThat is very cool! For other readers, "process" means submit jq-like document queries, and "various formats" means other JSON or JSON-like representations, such as BSON, Bencode[1], TOML, XML, and YAML. Thank you for sharing! [1]: In 2001, prior to the huge popularity of JSON, it is an ASCII-coded dict+string+int+list format used in Bittorrent .torrent files.
- dastx 7y agoIf you'd like to avoid cgo, you can use a pure go implementation of jq called gojq: https://github.com/itchyny/gojq https://github.com/itchyny/gojq
- jzelinskie 7y agoThanks for this link. If you'd like to create a GitHub issue, I'd appreciate it. My justification for linking to libjq is that it's a moving target: there are various builtins added across updates etc...