NiceSon 1.0.1

Suggested Alternatives

NiceSon 1.0.2

Additional Details

Version 1.0.1 contains issues around formatting JSON containing nested objects which have since been fixed in version 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global NiceSon --version 1.0.1                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local NiceSon --version 1.0.1                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=NiceSon&version=1.0.1                
nuke :add-package NiceSon --version 1.0.1                

NiceSON - Make your JSON look nice

Installing

NiceSON is a .NET CLI tool and can be installed via the dotnet command dotnet tool install --global NiceSon

View the package on nuget.org

Usage:

NiceSon <json> [options]

Arguments:

<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.

Options:

-nc, --no-clipboard

Disable storing the formatted JSON in the clipboard

-t, --console, --terminal

Output the formatted JSON to the console

-f, --file <file>

Directory to output a text file containing the formatted JSON

--version

Show version information

-?, -h, --help

Show help and usage information

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Fix issue where clipboard JSON was missing double quotes