1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
|
.\" groff -man -Tascii ydump.1
.\" ==========================================================================
.\" ============= Synopsis ===================================================
.\" ==========================================================================
.TH YDUMP 1 "June 2013" YDUMP "User Manuals"
.SH NAME
ydump \- JSON pretty printer
.SH SYNOPSIS
.B ydump \fR[\fIOptions...\fR] [\fIfile\fR]
.\" ==========================================================================
.\" ============= Description ================================================
.\" ==========================================================================
.SH DESCRIPTION
.B ydump
pretty prints data in the extended
.B JSON
format of the
.B yojson
library.
.B JSON
stands for JavaScript Object Notation and is a lightweight
data-interchange format.
.\" ==========================================================================
.P
.B ydump
reads from standard input if the
.I file
argument is omitted.
.\"
.\" ==========================================================================
.\" ================ Options =================================================
.\" ==========================================================================
.\"
.SH OPTIONS
.\" ===================== -o <file> ============================================
.TP
.B "-o <file>"
pretty print to
.I file
instead of standard output
.\" ===================== -std ============================================
.TP
.B "-std"
use
.B JSON
standard syntax only:
Convert tuples and variants into standard
.B JSON\fR,
refuse to print
NaN and infinities, require the root node to be either an object
or an array.
.\" ===================== -c ============================================
.TP
.B "-c"
compact output
.\" ===================== -s ============================================
.TP
.B "-s"
streaming mode: read and write a sequence of
.B JSON
values instead of
just one (this is the default).
.\" ===================== -u ============================================
.TP
.B "-u"
disable streaming mode: A single
.B JSON
record is expected.
.\" ===================== -sort ============================================
.TP
.B "-sort"
sort object fields (default: preserve internal field order)
.\" ===================== -ob ============================================
.TP
.B "-ob"
convert to biniou format and pretty print that (experimental)
.\" ===================== -version ============================================
.TP
.B "-version"
print version and exit
.\" ===================== -help ============================================
.TP
.B "-help | --help"
print options
.\"
.\" ==========================================================================
.\" ================ SEE ALSO ================================================
.\" ==========================================================================
.\"
.SH SEE ALSO
.TP
the \fByojson\fR web site, \fIhttp://mjambon.com/yojson.html\fR
.TP
the \fBJSON\fR web site, \fIhttp://json.org/\fR
.\"
.\" ==========================================================================
.\" ================ Author ==================================================
.\" ==========================================================================
.\"
.SH 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).
|