fracjson 1.0.0

dotnet tool install --global fracjson --version 1.0.0
                    
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 fracjson --version 1.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=fracjson&version=1.0.0
                    
nuke :add-package fracjson --version 1.0.0
                    

fracjson CLI

fracjson is a command line tool for formatting JSON data so that it's fairly compact but highly readable. It uses the FracturedJson .NET library. It's available as a dotnet global tool for people who use the .NET ecosystem, and as a standalone executable for major platforms for people who don't want to install .NET.

Installing

To install as a .NET tool, type this:

dotnet tool install --global fracjson

You'll need a .NET runtime installed on your machine to use it, of course.

If you're rather not use .NET, you can download one of the self-contained executables from the FracturedJson Releases page. You'll have to decide where to put the file on your own and make sure it's set as an executable with chmod or similar. You might also want to put it in your $PATH.

Usage

Use a file or stdin to specify the input file. The output will be sent to your terminal, unless you pipe it somewhere. Alternately, you can use the --output-file switch (or -o) to write it directly to a file.

fracjson rawFile.json -o formattedFile.json
echo '{"a":3,"b":false}' | fracjson > out.json

The default settings work pretty well with most JSON data, but there are lots of options available to fine-tune the output for your data. You can specify those options on the command line or through a config file. See the wiki page for more 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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.

Version Downloads Last Updated
1.0.0 83 1/29/2026