kklis/jsonformat
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
1. DESCRIPTION This is a simple formatter for JSON streams written in portable ANSI C. You can use this software to make incoming JSON streams more human readable. It reads data from the standard input line by line and sends it formatted to the standard output. 2. INSTALLATION On Linux compile the software using "make". On Windows use "make" from Cygwin (http://cygwin.com). 3. COMMAND LINE OPTIONS You can change default indentation from 2 spaces to any other number with "-n". Example: jsonformat -n 4 4. USAGE EXAMPLES cat test.json | jsonformat jsonformat < test.json wget -O - http://staff.tumblr.com/api/read/json | jsonformat | less