Format datum to jsonl, 1 json per 1 line
- Plugin type: formatter
- Load all or nothing: yes
- Resume supported: no
- encoding: output encoding. must be one of "UTF-8", "UTF-16LE", "UTF-32BE", "UTF-32LE" or "UTF-32BE" (string default: 'UTF-8')
- newline: newline character. (string default: 'LF')
- CRLF: use
\r
(0x0d) and\n
(0x0a) as newline character - LF: use
\n
(0x0a) as newline character - CR: use
\r
(0x0d) as newline character - NUL: use
\0
(0x00) instead of newline (for example,xargs -0
will be good friend with it) - NO: dump JSONs in a line
- CRLF: use
- date_format: date format. See below example. (string default: nil)
- "yyyy-MM-dd HH:mm:ss": 2015-04-26 17:23:25
- "yyyy-MM-dd'T'HH:mm:ss.SSSZ": 2015-04-26T17:23:25.123+0900
- For more information: SimpleDateFormat class document
- timezone: timezone. "JST" (string default: nil)
out:
type: any output input plugin type
formatter:
type: jsonl
encoding: UTF-8
newline: NUL
$ rake