jpp

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2019 License: Unlicense Imports: 6 Imported by: 0

README

JSON Pretty Print - Golang

A quick and simple Golang tool to help you prettify your JSON.

go get cpl.li/go/jpp

Usage is straightforward:

# Get the help message with all flag description
jpp -help

# Change indent style and/or prefix
jpp -indent "    " -prefix " "

# Use a file as input
jpp -file /var/log/docker/output.json

# Use it as a pipe
cmd0 | cmd1 | jpp

Feel free to make whatever changes you want to the code.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL