jsonfmt

command module
v0.0.0-...-69e0081 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Jsonfmt reformats JSON data.

Usage:

jsonfmt [-f template] [-o output] [file...]

Jsonfmt reads the named files, or else standard input, as JSON data and then reprints that same JSON data to standard output.

The -f flag specifies a template to execute on the JSON data. The output of the template is printed to standard output instead of reformatted JSON.

The -o flag specifies the name of a file to write instead of using standard output.

Jump to

Keyboard shortcuts

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