Skip to content

wonder191/jsonformat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

JSON Formatter

A simple Python script for parsing and formatting a JSON string.

# format from stdin
% echo '{"foo":"bar", "baz": 2}' | python jsonformat.py 

# format from file
% python jsonformat.py /path/to/file.json

# format file inplace
% python jsonformat.py -i /path/to/file.json

# unformat
% python jsonformat.py -u /path/to/file.json

About

Simple JSON formatter

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%