Add support for JSON sequence MIME type

Per draft-ietf-json-text-sequence-07 (which soon will be published as an
RFC).
This commit is contained in:
Nicolas Williams committed 2014-10-12 08:44:40 -05:00
1 parent 3411167c03
commit 89791a000b
5 files changed
+141 -21

No files matched your search

+11
View File
@@ -92,6 +92,17 @@ sections:
Output the jq version and exit with zero.
* `--seq`:
Use the `application/json-seq` MIME type scheme for separating
JSON texts in jq's input and output. This means that an ASCII
RS (record separator) character is printed before each value on
output and an ASCII LF (line feed) is printed after every
output. Input JSON texts that fail to parse are ignored (but
warned about), discarding all subsequent input until the next
RS. This more also parses the output of jq without the `--seq`
option.
* `--slurp`/`-s`:
Instead of running the filter for each JSON object in the