1YAZ-JSON-PARSE(1)                  Commands                  YAZ-JSON-PARSE(1)
2
3
4

NAME

6       yaz-json-parse - YAZ JSON parser
7

SYNOPSIS

9       yaz-json-parse [-p]
10

DESCRIPTION

12       yaz-json-parse is a utility which demonstrates the JSON API of YAZ.
13       (yaz/json.h).
14
15       The program attempts to parse a JSON from standard input (stdin). It
16       will return exit code 1 if parsing fails and the parsing error message
17       will be printed to standard error (stderr). The program returns exit
18       code 0 if parsing succeeds, and returns no output unless -p is given
19       (see below).
20

OPTIONS

22       -p
23           Makes the JSON parser echo the JSON result string to standard
24           output, if parsing from stdin was successful. If -p is given twice,
25           then the output is a multi-line output with indentation (pretty
26           print).
27

SEE ALSO

29       yaz(7)
30

AUTHORS

32       Index Data
33
34
35
36YAZ 5.32.0                        05/30/2022                 YAZ-JSON-PARSE(1)
Impressum