1 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
2 "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd"
4 <!ENTITY % local SYSTEM "local.ent">
6 <!ENTITY % entities SYSTEM "entities.ent">
8 <!ENTITY % idcommon SYSTEM "common/common.ent">
11 <refentry id="yaz-json-parse">
13 <productname>YAZ</productname>
14 <productnumber>&version;</productnumber>
18 <refentrytitle>yaz-json-parse</refentrytitle>
19 <manvolnum>1</manvolnum>
23 <refname>yaz-json-parse</refname>
24 <refpurpose>YAZ JSON parser</refpurpose>
29 <command>yaz-json-parse</command>
34 <refsect1><title>DESCRIPTION</title>
36 <command>yaz-json-parse</command> is utility which demonstrates
37 the JSON API of YAZ. (<filename>yaz/json.h</filename>).
40 The program attempts to parse a JSON from standard input (stdin).
41 It will return exit code 1 if parsing fails and the parsing error message
42 will be printed to standard error (stderr). The program returns exit code
43 0 parsing succeeds and return no output, unless -p is given (see below).
47 <refsect1><title>OPTIONS</title>
52 Makes the JSON parser echo the JSON result string to standard output -
53 if parsing from stdin was successful.
59 <refsect1><title>SEE ALSO</title>
62 <refentrytitle>yaz</refentrytitle>
63 <manvolnum>7</manvolnum>
69 <!-- Keep this comment at the end of the file
74 sgml-minimize-attributes:nil
75 sgml-always-quote-attributes:t
78 sgml-parent-document:nil
79 sgml-local-catalogs: nil
80 sgml-namecase-general:t