Tylertron1998 / jsontools

A fast and easy tool for prettifying or minifying JSON files from the command line.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JsonTools

JsonTools is a blazing fast JSON formatter.


Usage:

  JsonTools [options] [command]

Options:
  --version         Show version information
  -?, -h, --help    Show help and usage information

Commands:
  prettify <originalFile> [newFile]
  minify <originalFile> [newFile]

Example:

JsonTools prettify input.json

  • prettify input.json and overwrite the file

JsonTools minify input.json output.json

  • minify input.json and save the result to output.json

Performance:

Tested on a Ryzen 3600, minifying a 403MB json file took ~4.9 seconds.

About

A fast and easy tool for prettifying or minifying JSON files from the command line.

License:The Unlicense


Languages

Language:C# 100.0%