simonw / airtable-export

Export Airtable data to YAML, JSON or SQLite files on disk
https://datasette.io/tools/airtable-export
Apache License 2.0
112 stars 15 forks source link

Add JSON support #2

Closed simonw closed 4 years ago

simonw commented 4 years ago

Some people may prefer to use JSON, or newline-delimited JSON, over YAML.

simonw commented 4 years ago

Need to use json.dumps(data, sort_keys=True) for this, see #4.

simonw commented 4 years ago

I'm going to default to YAML but allow --json for JSON and --ndjson for newline-delimited JSON.