Skip to content

ANSI C streaming JSON formatter

License

Unknown, LGPL-3.0 licenses found

Licenses found

Unknown
LICENSE
LGPL-3.0
COPYING
Notifications You must be signed in to change notification settings

kklis/jsonformat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

About

ANSI C streaming JSON formatter

Resources

License

Unknown, LGPL-3.0 licenses found

Licenses found

Unknown
LICENSE
LGPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages