4139N/A<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4139N/A "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4139N/A
4139N/A
4139N/A<html xmlns="http://www.w3.org/1999/xhtml">
4139N/A <head>
4139N/A <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4139N/A
4139N/A <title>Jansson Documentation &mdash; Jansson 2.7 documentation</title>
4139N/A
4139N/A <link rel="stylesheet" href="_static/default.css" type="text/css" />
4139N/A <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
4139N/A
4139N/A <script type="text/javascript">
4139N/A var DOCUMENTATION_OPTIONS = {
4139N/A URL_ROOT: './',
4139N/A VERSION: '2.7',
4139N/A COLLAPSE_INDEX: false,
4139N/A FILE_SUFFIX: '.html',
4139N/A HAS_SOURCE: true
4139N/A };
4139N/A </script>
4139N/A <script type="text/javascript" src="_static/jquery.js"></script>
4139N/A <script type="text/javascript" src="_static/underscore.js"></script>
4139N/A <script type="text/javascript" src="_static/doctools.js"></script>
4139N/A <link rel="top" title="Jansson 2.7 documentation" href="#" />
4139N/A <link rel="next" title="Getting Started" href="gettingstarted.html" />
4139N/A </head>
4139N/A <body>
4139N/A <div class="related">
4139N/A <h3>Navigation</h3>
4139N/A <ul>
4139N/A <li class="right" style="margin-right: 10px">
4139N/A <a href="genindex.html" title="General Index"
4139N/A accesskey="I">index</a></li>
4139N/A <li class="right" >
4139N/A <a href="gettingstarted.html" title="Getting Started"
4139N/A accesskey="N">next</a> |</li>
4139N/A <li><a href="#">Jansson 2.7 documentation</a> &raquo;</li>
4139N/A </ul>
4139N/A </div>
4139N/A
4139N/A <div class="document">
4139N/A <div class="documentwrapper">
4139N/A <div class="bodywrapper">
4139N/A <div class="body">
4139N/A
4139N/A <div class="section" id="jansson-documentation">
4139N/A<h1>Jansson Documentation<a class="headerlink" href="#jansson-documentation" title="Permalink to this headline">¶</a></h1>
4139N/A<p>This is the documentation for <a class="reference external" href="http://www.digip.org/jansson/">Jansson</a> 2.7, last updated October 28, 2014.</p>
4139N/A<div class="section" id="introduction">
4139N/A<h2>Introduction<a class="headerlink" href="#introduction" title="Permalink to this headline">¶</a></h2>
4139N/A<p><a class="reference external" href="http://www.digip.org/jansson/">Jansson</a> is a C library for encoding, decoding and manipulating JSON
4139N/Adata. Its main features and design principles are:</p>
4139N/A<ul class="simple">
4139N/A<li>Simple and intuitive API and data model</li>
4139N/A<li>Comprehensive documentation</li>
4139N/A<li>No dependencies on other libraries</li>
4139N/A<li>Full Unicode support (UTF-8)</li>
4139N/A<li>Extensive test suite</li>
4139N/A</ul>
4139N/A<p>Jansson is licensed under the <a class="reference external" href="http://www.opensource.org/licenses/mit-license.php">MIT license</a>; see LICENSE in the
4139N/Asource distribution for details.</p>
4139N/A<p>Jansson is used in production and its API is stable. It works on
4139N/Anumerous platforms, including numerous Unix like systems and Windows.
4139N/AIt&#8217;s suitable for use on any system, including desktop, server, and
4139N/Asmall embedded systems.</p>
4139N/A</div>
4139N/A<div class="section" id="contents">
4139N/A<h2>Contents<a class="headerlink" href="#contents" title="Permalink to this headline">¶</a></h2>
4139N/A<div class="toctree-wrapper compound">
4139N/A<ul>
4139N/A<li class="toctree-l1"><a class="reference internal" href="gettingstarted.html">Getting Started</a><ul>
4139N/A<li class="toctree-l2"><a class="reference internal" href="gettingstarted.html#compiling-and-installing-jansson">Compiling and Installing Jansson</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="gettingstarted.html#compiling-programs-that-use-jansson">Compiling Programs that Use Jansson</a></li>
4139N/A</ul>
4139N/A</li>
4139N/A<li class="toctree-l1"><a class="reference internal" href="upgrading.html">Upgrading from 1.x</a><ul>
4139N/A<li class="toctree-l2"><a class="reference internal" href="upgrading.html#compatibility">Compatibility</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="upgrading.html#list-of-incompatible-changes">List of Incompatible Changes</a></li>
4139N/A</ul>
4139N/A</li>
4139N/A<li class="toctree-l1"><a class="reference internal" href="tutorial.html">Tutorial</a><ul>
4139N/A<li class="toctree-l2"><a class="reference internal" href="tutorial.html#the-github-repo-commits-api">The GitHub Repo Commits API</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="tutorial.html#the-program">The Program</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="tutorial.html#conclusion">Conclusion</a></li>
4139N/A</ul>
4139N/A</li>
4139N/A<li class="toctree-l1"><a class="reference internal" href="conformance.html">RFC Conformance</a><ul>
4139N/A<li class="toctree-l2"><a class="reference internal" href="conformance.html#character-encoding">Character Encoding</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="conformance.html#strings">Strings</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="conformance.html#numbers">Numbers</a></li>
4139N/A</ul>
4139N/A</li>
4139N/A<li class="toctree-l1"><a class="reference internal" href="portability.html">Portability</a><ul>
4139N/A<li class="toctree-l2"><a class="reference internal" href="portability.html#thread-safety">Thread safety</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="portability.html#locale">Locale</a></li>
4139N/A</ul>
4139N/A</li>
4139N/A<li class="toctree-l1"><a class="reference internal" href="apiref.html">API Reference</a><ul>
4139N/A<li class="toctree-l2"><a class="reference internal" href="apiref.html#preliminaries">Preliminaries</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="apiref.html#library-version">Library Version</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="apiref.html#value-representation">Value Representation</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="apiref.html#true-false-and-null">True, False and Null</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="apiref.html#string">String</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="apiref.html#number">Number</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="apiref.html#array">Array</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="apiref.html#object">Object</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="apiref.html#error-reporting">Error reporting</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="apiref.html#encoding">Encoding</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="apiref.html#decoding">Decoding</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="apiref.html#building-values">Building Values</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="apiref.html#parsing-and-validating-values">Parsing and Validating Values</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="apiref.html#equality">Equality</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="apiref.html#copying">Copying</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="apiref.html#custom-memory-allocation">Custom Memory Allocation</a></li>
4139N/A</ul>
4139N/A</li>
4139N/A<li class="toctree-l1"><a class="reference internal" href="changes.html">Changes in Jansson</a><ul>
4139N/A<li class="toctree-l2"><a class="reference internal" href="changes.html#version-2-7">Version 2.7</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="changes.html#version-2-6">Version 2.6</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="changes.html#version-2-5">Version 2.5</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="changes.html#version-2-4">Version 2.4</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="changes.html#version-2-3-1">Version 2.3.1</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="changes.html#version-2-3">Version 2.3</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="changes.html#version-2-2-1">Version 2.2.1</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="changes.html#version-2-2">Version 2.2</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="changes.html#version-2-1">Version 2.1</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="changes.html#version-2-0-1">Version 2.0.1</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="changes.html#version-2-0">Version 2.0</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-3">Version 1.3</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-2-1">Version 1.2.1</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-2">Version 1.2</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-1-3">Version 1.1.3</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-1-2">Version 1.1.2</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-1-1">Version 1.1.1</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-1">Version 1.1</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-0-4">Version 1.0.4</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-0-3">Version 1.0.3</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-0-2">Version 1.0.2</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-0-1">Version 1.0.1</a></li>
4139N/A<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-0">Version 1.0</a></li>
4139N/A</ul>
4139N/A</li>
4139N/A</ul>
4139N/A</div>
4139N/A</div>
4139N/A</div>
4139N/A<div class="section" id="indices-and-tables">
4139N/A<h1>Indices and Tables<a class="headerlink" href="#indices-and-tables" title="Permalink to this headline">¶</a></h1>
4139N/A<ul class="simple">
4139N/A<li><a class="reference internal" href="genindex.html"><em>Index</em></a></li>
4139N/A<li><a class="reference internal" href="search.html"><em>Search Page</em></a></li>
4139N/A</ul>
4139N/A</div>
4139N/A
4139N/A
4139N/A </div>
4139N/A </div>
4139N/A </div>
4139N/A <div class="sphinxsidebar">
4139N/A <div class="sphinxsidebarwrapper">
4139N/A <h3><a href="#">Table Of Contents</a></h3>
4139N/A <ul>
4139N/A<li><a class="reference internal" href="#">Jansson Documentation</a><ul>
4139N/A<li><a class="reference internal" href="#introduction">Introduction</a></li>
4139N/A<li><a class="reference internal" href="#contents">Contents</a></li>
4139N/A</ul>
4139N/A</li>
4139N/A<li><a class="reference internal" href="#indices-and-tables">Indices and Tables</a></li>
4139N/A</ul>
4139N/A
4139N/A <h4>Next topic</h4>
4139N/A <p class="topless"><a href="gettingstarted.html"
4139N/A title="next chapter">Getting Started</a></p>
4139N/A <h3>This Page</h3>
4139N/A <ul class="this-page-menu">
4139N/A <li><a href="_sources/index.txt"
4139N/A rel="nofollow">Show Source</a></li>
4139N/A </ul>
4139N/A<div id="searchbox" style="display: none">
4139N/A <h3>Quick search</h3>
4139N/A <form class="search" action="search.html" method="get">
4139N/A <input type="text" name="q" />
4139N/A <input type="submit" value="Go" />
4139N/A <input type="hidden" name="check_keywords" value="yes" />
4139N/A <input type="hidden" name="area" value="default" />
4139N/A </form>
4139N/A <p class="searchtip" style="font-size: 90%">
4139N/A Enter search terms or a module, class or function name.
4139N/A </p>
4139N/A</div>
4139N/A<script type="text/javascript">$('#searchbox').show(0);</script>
4139N/A </div>
4139N/A </div>
4139N/A <div class="clearer"></div>
4139N/A </div>
4139N/A <div class="related">
4139N/A <h3>Navigation</h3>
4139N/A <ul>
4139N/A <li class="right" style="margin-right: 10px">
4139N/A <a href="genindex.html" title="General Index"
4139N/A >index</a></li>
4139N/A <li class="right" >
4139N/A <a href="gettingstarted.html" title="Getting Started"
4139N/A >next</a> |</li>
4139N/A <li><a href="#">Jansson 2.7 documentation</a> &raquo;</li>
4139N/A </ul>
4139N/A </div>
4139N/A <div class="footer">
4139N/A &copy; Copyright 2009-2014, Petri Lehtinen.
4139N/A Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.2.
4139N/A </div>
4139N/A </body>
4139N/A</html>