blob: ad8e0b1438c5b8994fb71eb9a6ce6461066b7bc5 [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.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TinyCBOR 0.5.2 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 id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">TinyCBOR 0.5.2 API
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></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="a00017.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="a00005_source.html">cbor.h</a>&quot;</code><br />
</div>
<p><a href="a00017_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="a00049.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="a00049.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="a00045.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00049.html#ga558485bab0ebcb2646e7669d13861d79">cbor_value_to_json_advance</a> (FILE *out, <a class="el" href="a00065.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 to by <em>value</em> to JSON and writes that to the <em>out</em> stream. <a href="a00049.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="a00045.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00049.html#ga3f2ce7eadf9a355654186166d24e69cf">cbor_value_to_json</a> (FILE *out, const <a class="el" href="a00065.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 to by <em>value</em> to JSON and writes that to the <em>out</em> stream. <a href="a00049.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="a00017.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="a00005.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.14
</small></address>
</body>
</html>