Closed simonw closed 4 years ago
Some people may prefer to use JSON, or newline-delimited JSON, over YAML.
Need to use json.dumps(data, sort_keys=True) for this, see #4.
json.dumps(data, sort_keys=True)
I'm going to default to YAML but allow --json for JSON and --ndjson for newline-delimited JSON.
--json
--ndjson
Some people may prefer to use JSON, or newline-delimited JSON, over YAML.