[HN Gopher] rq: Universal convertor between structured data (JSO...
___________________________________________________________________
rq: Universal convertor between structured data (JSON, MessagePack,
CBOR, etc.)
Author : ducktective
Score : 37 points
Date : 2022-04-27 19:44 UTC (3 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| stormbrew wrote:
| Huh I didn't know rq dropped its own query language support.
| That's kind of disappointing tbh, because I just really want to
| have one tool that's as powerful as jq and understands all the
| json-y formats.
|
| That said I also don't really want the thing that does that to
| reinvent the wheel, jq's syntax may be annoying but at this point
| it's "won" really and "different query language + all the
| formats" is just an awkward niche to fill.
| ducktective wrote:
| I think `rq | jq` is more in line with UNIX philosophy.
| stormbrew wrote:
| I have a hard time seeing "read/write yaml" as the thing
| that'll topple jq over the edge into "not unixy enough".
|
| Anyways, this line is always so fuzzy, and so poorly
| maintained in actual UNIXes in practice, that it's really
| just a way of expressing personal biases with an air of
| authority.
| mbel wrote:
| Interesting that CSV is supported but XML is missing. Is it
| finally dead?
| jandrese wrote:
| It only supports structured data.
|
| But seriously, XML is such a nightmare to parse that it might
| not even make sense to try.
| CharlesW wrote:
| COBOL isn't even dead.
| [deleted]
| layer8 wrote:
| Jq, yq, zq, gq, rq, ... I wonder when we'll complete the *q
| alphabet. :)
| [deleted]
| alex_hirner wrote:
| Insert and repeat: https://github.com/01mf02/jaq
| UncleEntity wrote:
| Then we'll have to go for three letters -- I reserve bbq.
| Bayart wrote:
| There's also yq for YAML (it wraps around jq).
| layer8 wrote:
| Thanks, added it to my comment.
| notamy wrote:
| I feel special for not making my tool[0] a member of the *q
| alphabet family (:
|
| [0] shameless plug: https://github.com/queer/utt
___________________________________________________________________
(page generated 2022-04-27 23:02 UTC)