mirror of
https://github.com/johnkerl/miller.git
synced 2026-08-01 12:11:15 +00:00
* Draw a distinction between JSON and JSON Lines formats
* Add JSON Lines to on-line help example
* Have JSON format default to --jlistwrap and --jvstack
* Update test cases for --jlistwrap output for JSON output format
* Have JSON format default to --jlistwrap and --jvstack for --{X}2j as well
* Make --jlistwrap / --jvstack as legacy flags, since now --json and --jsonl
* Add --c2l, --l2c, etc. command-line flags
* docmods for JSON Lines
* Update regression-test cases for JSON / JSON Lines distinction
11 lines
414 B
Text
11 lines
414 B
Text
[
|
|
{
|
|
"hostname": "\"localhost\"",
|
|
"pid": "12345",
|
|
"req": "{\"id\": 6789, \"method\": \"GET\", \"path\": \"api/check\", \"host\": \"foo.bar\", \"headers\": {\"host\": \"bar.baz\", \"user-agent\": \"browser\"}}",
|
|
"res": "{\"status_code\": 200, \"header\": {\"content-type\": \"text\", \"content-encoding\": \"plain\"}}",
|
|
"empty1": "{}",
|
|
"empty2": "[]",
|
|
"wrapper": "{\"empty3\": {}, \"emtpy4\": []}"
|
|
}
|
|
]
|