NiceSON is a .NET CLI tool and can be installed via the dotnet command
dotnet tool install --global NiceSon
NiceSon <json> [options]
<json> The JSON to format. It is recommended to wrap the JSON is single quotes to avoid conflicts with double quotes escaping the JSON string early.
-nc, --no-clipboard
Disable storing the formatted JSON in the clipboard
-t, --console, --terminal
Output the formatted JSON to the console
-f, --file
Directory to output a text file containing the formatted JSON
--version
Show version information
-?, -h, --help
Show help and usage information