A simple dotnet CLI tool for printing Newline Delimited JSON (NDJSON) to console. It also handles normal JSON files too.
The latest release of dotnet-ndjson requires the 2.1.300 .NET Core 2.1 SDK or newer. Once installed, run this command:
dotnet tool install --global ndjson
Usage: ndjson [arguments]
Arguments:
path Path to the file
Options:
-?|-h|--help Show help information
text.ndjson
{ "my" : "data" }
{ "more" : "data" }
Print to stdout:
$ ndjson text.ndjson
{
"my" : "data"
}
{
"more" : "data"
}
Simple as that!
- Better usage of colors
- Better "-More-" feature