Closed smbache closed 8 years ago
Good point. I don't think we've thought about this, at least I haven't.
I'll have a think about it. It does probably make sense to pretty print with newlines
Mostly for consistency with the standard jq
behavior. I think this is what people would expect as it's almost the first lesson in the docs for jq
:)
okay, pushed a change, should behave just like jq
now, via jqr::combine()
i think this is sorted now
Yes! It's good!
From the manual:
"Since jq by default pretty-prints all output, this trivial program can be a useful way of formatting JSON output from, say, curl."
for input
{"foo":[{"bar":"baz"}]}
jq
with the basic.
filter produces:jqr
produces:Is this a deliberate choice? I can see the usefulness og the default "prettying"...