Skip to main content

Convert json to tab-separated format.

Project description

Convert json to tab-separated format. Read from STDIN and write to STDOUT. E.g.

$ echo '[{"id":"123", "user":{"name":"mary", "gender":"female"}}, {"id":"124", "user":{"name":"mark", "gender":"male"}}]' | json2tsv id user.name user.gender
123     mary    female
124     mark    male

History

0.1.2 (2016-09-28)

  • Adds type decoding to tsv2json
  • Light refactoring

0.1.1 (2016-07-11)

  • Bugfixes; unicode support
  • py2 / py3 support

0.1.0 (2014-01-11)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

json2tsv-0.1.2.tar.gz (13.1 kB view hashes)

Uploaded source

Built Distribution

json2tsv-0.1.2-py2.py3-none-any.whl (6.1 kB view hashes)

Uploaded 3 5

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page