jqr icon indicating copy to clipboard operation
jqr copied to clipboard

Fix flags

Open sckott opened this issue 6 years ago • 3 comments

--stream and --seq

sckott avatar Mar 27 '18 16:03 sckott

there's stream and seq params in jq_flags but apparently they don't work

sckott avatar Mar 27 '18 16:03 sckott

stream eg https://github.com/stedolan/jq/wiki/FAQ#streaming-json-parser

sckott avatar Mar 27 '18 16:03 sckott

This is broken:

jsonlite::stream_out(ggplot2::diamonds, file('diamonds.seq'), prefix = "\u001e")
jqr::jq(file('diamonds.seq'), 'select(.price > 15000)', out = file("output.json"),
    flags = jqr::jq_flags(seq = TRUE))

jeroen avatar Mar 28 '18 09:03 jeroen