Skip to main content

Turns a JSON file into a directory structure.

Project description

USAGE

json-to-dir <json-file> [output-directory]

output-directory defaults to somewhere in /tmp.

EXAMPLE

fiatjaf@menger ~> echo '[{"x": 23}, {"y": "23", "www": {"lll": "qwlekwq"}}]' > file
fiatjaf@menger ~> ./json-to-dir file
file written to /tmp/tmpXv1f5X.
fiatjaf@menger ~> tree /tmp/tmpXv1f5X/
/tmp/tmpXv1f5X/
├── 0
│   └── x
└── 1
    ├── www
    │   └── lll
    └── y

3 directories, 3 files

Project details


Download files

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

Files for json-to-dir, version 1.2
Filename, size File type Python version Upload date Hashes
Filename, size json_to_dir-1.2-py3-none-any.whl (2.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size json-to-dir-1.2.tar.gz (1.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page