<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>yaz-json-parse</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="YAZ User's Guide and Reference"><link rel="up" href="reference.html" title="Reference"><link rel="prev" href="bib1.html" title="Bib-1 Attribute Set"><link rel="next" href="list-oids.html" title="AppendixA.List of Object Identifiers"></head><body><link rel="stylesheet" type="text/css" href="common/style1.css"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">yaz-json-parse</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="bib1.html">Prev</a></td><th width="60%" align="center">Reference</th><td width="20%" align="right"><a accesskey="n" href="list-oids.html">Next</a></td></tr></table><hr></div><div class="refentry" title="yaz-json-parse"><a name="yaz-json-parse"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>yaz-json-parse — YAZ JSON parser</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">yaz-json-parse</code> [-p]</p></div></div><div class="refsect1" title="DESCRIPTION"><a name="idp12350176"></a><h2>DESCRIPTION</h2><p>
<span class="command"><strong>yaz-json-parse</strong></span> is utility which demonstrates
the JSON API of YAZ. (<code class="filename">yaz/json.h</code>).
</p><p>
The program attempts to parse a JSON from standard input (stdin).
It will return exit code 1 if parsing fails and the parsing error message
will be printed to standard error (stderr). The program returns exit code
0 parsing succeeds and return no output, unless -p is given (see below).
</p></div><div class="refsect1" title="OPTIONS"><a name="idp12353424"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">-p</span></dt><dd><p>
Makes the JSON parser echo the JSON result string to standard output -
if parsing from stdin was successful.
</p></dd></dl></div></div><div class="refsect1" title="SEE ALSO"><a name="idp12355904"></a><h2>SEE ALSO</h2><p>
<span class="citerefentry"><span class="refentrytitle">yaz</span>(7)</span>
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="bib1.html">Prev</a></td><td width="20%" align="center"><a accesskey="u" href="reference.html">Up</a></td><td width="40%" align="right"><a accesskey="n" href="list-oids.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Bib-1 Attribute Set</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">AppendixA.List of Object Identifiers</td></tr></table></div></body></html>
|