carta
json_reformat(1)

json_reformat1

A simple json reformatting tool

Usage

json_reformat [options] < input-file [> output-file]

Overview

json_reformat reads json data from standard input and sends formatted data to standard output. It attempts to format for readability by default and returns success (zero result) if the input file is valid, and failure (nonzero result) otherwise.

Options

-e

escape any forward slashes (for embedding in HTML)

-m

minimize json rather than beautify

-s

reformat a stream of multiple json entities

-u

allow invalid UTF8 inside strings during parsing

History

  • Debian 13 (Trixie) to Debian 8 (Jessie): the text shown here
  • Debian 7 (Wheezy)
  • Debian 6.0 (Squeeze)

-e since Debian 8 (Jessie); -s since Debian 8 (Jessie).

Authors

Lloyd Hilaiel <[email protected]>

This manual page was written by John Stamp <[email protected]>. Permission is granted to redistribute, use, and/or modify this document under the same terms as json_reformat itself.

From yajl-tools 2.1.0-5+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.