blob: 2d813fd3980472cd86525c707619079a722daea2 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>TinyCBOR API: cborjson.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">TinyCBOR API
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">cborjson.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><blockquote class="doxtable">
<p></p>
<p></p>
</blockquote>
<p>The &lt;<a class="el" href="a00008.html" title="The &lt;cborjson.h&gt; file contains the routines that are used to convert a CBOR data stream into JSON...">cborjson.h</a>&gt; file contains the routines that are used to convert a CBOR data stream into JSON.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="a00004_source.html">cbor.h</a>&quot;</code><br/>
</div>
<p><a href="a00008_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga2f7386ebce337e0de69cae456bda78f7"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00021.html#ga2f7386ebce337e0de69cae456bda78f7">CborToJsonFlags</a> </td></tr>
<tr class="memdesc:ga2f7386ebce337e0de69cae456bda78f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">The CborToJsonFlags enum contains flags that control the conversion of CBOR to JSON. <a href="a00021.html#ga2f7386ebce337e0de69cae456bda78f7">More...</a><br/></td></tr>
<tr class="separator:ga2f7386ebce337e0de69cae456bda78f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga558485bab0ebcb2646e7669d13861d79"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00021.html#ga558485bab0ebcb2646e7669d13861d79">cbor_value_to_json_advance</a> (FILE *out, <a class="el" href="a00002.html">CborValue</a> *value, int flags)</td></tr>
<tr class="memdesc:ga558485bab0ebcb2646e7669d13861d79"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts the current CBOR type pointed by <em>value</em> to JSON and writes that to the <em>out</em> stream. <a href="a00021.html#ga558485bab0ebcb2646e7669d13861d79">More...</a><br/></td></tr>
<tr class="separator:ga558485bab0ebcb2646e7669d13861d79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3f2ce7eadf9a355654186166d24e69cf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00021.html#ga3f2ce7eadf9a355654186166d24e69cf">cbor_value_to_json</a> (FILE *out, const <a class="el" href="a00002.html">CborValue</a> *value, int flags)</td></tr>
<tr class="memdesc:ga3f2ce7eadf9a355654186166d24e69cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts the current CBOR type pointed by <em>value</em> to JSON and writes that to the <em>out</em> stream. <a href="a00021.html#ga3f2ce7eadf9a355654186166d24e69cf">More...</a><br/></td></tr>
<tr class="separator:ga3f2ce7eadf9a355654186166d24e69cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><blockquote class="doxtable">
<p></p>
<p></p>
</blockquote>
<p>The &lt;<a class="el" href="a00008.html" title="The &lt;cborjson.h&gt; file contains the routines that are used to convert a CBOR data stream into JSON...">cborjson.h</a>&gt; file contains the routines that are used to convert a CBOR data stream into JSON. </p>
<dl class="section see"><dt>See Also</dt><dd>&lt;<a class="el" href="a00004.html" title="The &lt;cbor.h&gt; is the main header in TinyCBOR and defines the constants used by most functions as well ...">cbor.h</a>&gt; </dd></dl>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>