source: yaz/trunk/fuentes/doc/yaz-json-parse.html @ 255

Last change on this file since 255 was 255, checked in by mabarracus, 4 years ago

added trusty code to xenial

File size: 2.9 KB
Line 
1<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.78.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="Appendix A. 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"><a name="yaz-json-parse"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>yaz-json-parse &#8212; YAZ JSON parser</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">yaz-json-parse</code>  [-p]</p></div></div><div class="refsect1"><a name="idp48578992"></a><h2>DESCRIPTION</h2><p>
2   <span class="command"><strong>yaz-json-parse</strong></span> is utility which demonstrates
3   the JSON API of YAZ. (<code class="filename">yaz/json.h</code>).
4  </p><p>
5   The program attempts to parse a JSON from standard input (stdin).
6   It will return exit code 1 if parsing fails and the parsing error message
7   will be printed to standard error (stderr). The program returns exit code
8   0 parsing succeeds and return no output, unless -p is given (see below).
9  </p></div><div class="refsect1"><a name="idp48582240"></a><h2>OPTIONS</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">-p</span></dt><dd><p>
10      Makes the JSON parser echo the JSON result string to standard output -
11      if parsing from stdin was successful. If -p is given twice the
12      output is a multi line output with indentation (pretty print).
13     </p></dd></dl></div></div><div class="refsect1"><a name="idp48584816"></a><h2>SEE ALSO</h2><p>
14   <span class="citerefentry"><span class="refentrytitle">yaz</span>(7)</span>
15  </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"> Appendix A. List of Object Identifiers</td></tr></table></div></body></html>
Note: See TracBrowser for help on using the repository browser.