Skip to content

Tiny JSON pretty-printer using a streaming C++ sax-like parser.

Notifications You must be signed in to change notification settings

peadar/JSONdent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSONdent

Tiny JSON indenter using a streaming C++ sax-like parser.

Unlike the python json.tool indenter, this preserves the ordering of items from the input.

As far as tested, the output is byte-for-byte identical to python's "json.tool" as long as there's no non-integer numbers.

By default this tool parses numbers as integers. You can pass "-f" to make it parse floats too, but there are likely to be rounding differences in the output.

About

Tiny JSON pretty-printer using a streaming C++ sax-like parser.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published