Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dcbaker/jsontidy
A simple python script for making JSON data readable
https://github.com/dcbaker/jsontidy
Last synced: about 2 months ago
JSON representation
A simple python script for making JSON data readable
- Host: GitHub
- URL: https://github.com/dcbaker/jsontidy
- Owner: dcbaker
- License: mit
- Created: 2015-07-02T21:25:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-17T23:01:28.000Z (about 9 years ago)
- Last Synced: 2024-10-14T16:57:00.179Z (3 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jsontidy
A simple python script for making JSON data readable## Basic Usage
jsontidy can be used with both pipes (stdin and stdout) or with files
Using pipes:
`jsontidy.py < myfile.json > newfile.json`Using files:
`jsontidy.py myfile.json -o newfile.json`It is also possible to mix and match:
```
| jsontidy.py -o newfile.json
jsontidy.py myfile.json |
```There are additional options available for more advanced uses, see jsontidy.py -h for more information
If the JSON cannot be parsed, the message provided by the parsing library will be printed and the utility will exit with a status of 1.