Skip to content

tveerman/jf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jf - A trivial JSON formatter

jf is a trivial JSON formatter. It's basically a wrapper around the marvelous "JSON for Modern C++" by Niels Lohmann. Output is written to stdout.

Usage

$ jf -h
jf [-h] [-i n] [file]
        -h      Shows this help message.
        -i      Number of spaces to indent. Default is 2. Use -1 for no indentation at all.
        file    Path to file to indent. When no path is provided the data is read from stdin.

Diagnostics

The jf utility exits 0 on success, and >0 if an error occurs. On success the output written to stdout. JSON parse errors are written to stderr.

About

A trivial JSON formatter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages