Scroll to navigation

YDUMP(1) User Manuals YDUMP(1)

NAME

ydump - JSON pretty printer

SYNOPSIS

ydump [Options...] [file]

DESCRIPTION

ydump pretty prints data in the extended JSON format of the yojson library. JSON stands for JavaScript Object Notation and is a lightweight data-interchange format.

ydump reads from standard input if the file argument is omitted.

OPTIONS

pretty print to file instead of standard output
use JSON standard syntax only: Convert tuples and variants into standard JSON, refuse to print NaN and infinities, require the root node to be either an object or an array.
compact output
streaming mode: read and write a sequence of JSON values instead of just one (this is the default).
disable streaming mode: A single JSON record is expected.
sort object fields (default: preserve internal field order)
convert to biniou format and pretty print that (experimental)
print version and exit
print options

SEE ALSO

http://mjambon.com/yojson.html
http://json.org/

AUTHOR

This manual page was written by Sylvain Le Gall <gildor@debian.org> and Hendrik Tews <hendrik@askra.de>, specifically for the Debian project (and may be used by others).

June 2013 YDUMP