File: ydump.mkd

package info (click to toggle)
yojson 2.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,044 kB
  • sloc: ml: 3,068; makefile: 38
file content (40 lines) | stat: -rw-r--r-- 699 bytes parent folder | download | duplicates (5)
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
% old, currently unused source of the man page
% convert with pandoc -s -w man $^ -o $@
% YDUMP(1) ydump User Manual
% Sylvain Le Gall 
% December 5, 2010

# NAME

ydump - JSON pretty printer.

# SYNOPSIS

ydump [options] file

# DESCRIPTION

JSON pretty printer using yojson and easy-format.

# OPTIONS

-o <file>
:   Output file

-std 
:   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.

-c 
:   Compact output (default: pretty-printed)

-s 
:   Streaming mode: read and write a sequence of JSON values instead of
    just one.

-ob 
:   Experimental

-help|\--help
:   Display list of options