<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Jansson Documentation — Jansson 2.7 documentation</title>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '2.7',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<link rel="top" title="Jansson 2.7 documentation" href="#" />
</head>
<body>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
accesskey="I">index</a></li>
<li class="right" >
accesskey="N">next</a> |</li>
<li><a href="#">Jansson 2.7 documentation</a> »</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="section" id="jansson-documentation">
<h1>Jansson Documentation<a class="headerlink" href="#jansson-documentation" title="Permalink to this headline">¶</a></h1>
<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>
<div class="section" id="introduction">
<h2>Introduction<a class="headerlink" href="#introduction" title="Permalink to this headline">¶</a></h2>
<p><a class="reference external" href="http://www.digip.org/jansson/">Jansson</a> is a C library for encoding, decoding and manipulating JSON
data. Its main features and design principles are:</p>
<ul class="simple">
<li>Simple and intuitive API and data model</li>
<li>Comprehensive documentation</li>
<li>No dependencies on other libraries</li>
<li>Full Unicode support (UTF-8)</li>
<li>Extensive test suite</li>
</ul>
<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
source distribution for details.</p>
<p>Jansson is used in production and its API is stable. It works on
numerous platforms, including numerous Unix like systems and Windows.
It’s suitable for use on any system, including desktop, server, and
small embedded systems.</p>
</div>
<div class="section" id="contents">
<h2>Contents<a class="headerlink" href="#contents" title="Permalink to this headline">¶</a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="gettingstarted.html">Getting Started</a><ul>
<li class="toctree-l2"><a class="reference internal" href="gettingstarted.html#compiling-and-installing-jansson">Compiling and Installing Jansson</a></li>
<li class="toctree-l2"><a class="reference internal" href="gettingstarted.html#compiling-programs-that-use-jansson">Compiling Programs that Use Jansson</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="upgrading.html">Upgrading from 1.x</a><ul>
<li class="toctree-l2"><a class="reference internal" href="upgrading.html#compatibility">Compatibility</a></li>
<li class="toctree-l2"><a class="reference internal" href="upgrading.html#list-of-incompatible-changes">List of Incompatible Changes</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="tutorial.html#the-github-repo-commits-api">The GitHub Repo Commits API</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorial.html#the-program">The Program</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorial.html#conclusion">Conclusion</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="conformance.html">RFC Conformance</a><ul>
<li class="toctree-l2"><a class="reference internal" href="conformance.html#character-encoding">Character Encoding</a></li>
<li class="toctree-l2"><a class="reference internal" href="conformance.html#strings">Strings</a></li>
<li class="toctree-l2"><a class="reference internal" href="conformance.html#numbers">Numbers</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="portability.html#thread-safety">Thread safety</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="apiref.html#preliminaries">Preliminaries</a></li>
<li class="toctree-l2"><a class="reference internal" href="apiref.html#library-version">Library Version</a></li>
<li class="toctree-l2"><a class="reference internal" href="apiref.html#value-representation">Value Representation</a></li>
<li class="toctree-l2"><a class="reference internal" href="apiref.html#true-false-and-null">True, False and Null</a></li>
<li class="toctree-l2"><a class="reference internal" href="apiref.html#error-reporting">Error reporting</a></li>
<li class="toctree-l2"><a class="reference internal" href="apiref.html#building-values">Building Values</a></li>
<li class="toctree-l2"><a class="reference internal" href="apiref.html#parsing-and-validating-values">Parsing and Validating Values</a></li>
<li class="toctree-l2"><a class="reference internal" href="apiref.html#custom-memory-allocation">Custom Memory Allocation</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="changes.html#version-2-7">Version 2.7</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes.html#version-2-6">Version 2.6</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes.html#version-2-5">Version 2.5</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes.html#version-2-4">Version 2.4</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes.html#version-2-3-1">Version 2.3.1</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes.html#version-2-3">Version 2.3</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes.html#version-2-2-1">Version 2.2.1</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes.html#version-2-2">Version 2.2</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes.html#version-2-1">Version 2.1</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes.html#version-2-0-1">Version 2.0.1</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes.html#version-2-0">Version 2.0</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-3">Version 1.3</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-2-1">Version 1.2.1</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-2">Version 1.2</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-1-3">Version 1.1.3</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-1-2">Version 1.1.2</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-1-1">Version 1.1.1</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-1">Version 1.1</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-0-4">Version 1.0.4</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-0-3">Version 1.0.3</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-0-2">Version 1.0.2</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-0-1">Version 1.0.1</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes.html#version-1-0">Version 1.0</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
<div class="section" id="indices-and-tables">
<h1>Indices and Tables<a class="headerlink" href="#indices-and-tables" title="Permalink to this headline">¶</a></h1>
<ul class="simple">
</ul>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
<h3><a href="#">Table Of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">Jansson Documentation</a><ul>
<li><a class="reference internal" href="#introduction">Introduction</a></li>
<li><a class="reference internal" href="#contents">Contents</a></li>
</ul>
</li>
<li><a class="reference internal" href="#indices-and-tables">Indices and Tables</a></li>
</ul>
<h4>Next topic</h4>
title="next chapter">Getting Started</a></p>
<h3>This Page</h3>
<ul class="this-page-menu">
rel="nofollow">Show Source</a></li>
</ul>
<div id="searchbox" style="display: none">
<h3>Quick search</h3>
<input type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
>index</a></li>
<li class="right" >
>next</a> |</li>
<li><a href="#">Jansson 2.7 documentation</a> »</li>
</ul>
</div>
<div class="footer">
© Copyright 2009-2014, Petri Lehtinen.
</div>
</body>
</html>