components/jansson/doc/html/changes.html
changeset 2190 0e3f360be1b9
equal deleted inserted replaced
2189:8231387581aa 2190:0e3f360be1b9
       
     1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       
     2   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
       
     3 
       
     4 
       
     5 <html xmlns="http://www.w3.org/1999/xhtml">
       
     6   <head>
       
     7     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
       
     8     
       
     9     <title>Changes in Jansson &mdash; Jansson 2.7 documentation</title>
       
    10     
       
    11     <link rel="stylesheet" href="_static/default.css" type="text/css" />
       
    12     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
       
    13     
       
    14     <script type="text/javascript">
       
    15       var DOCUMENTATION_OPTIONS = {
       
    16         URL_ROOT:    './',
       
    17         VERSION:     '2.7',
       
    18         COLLAPSE_INDEX: false,
       
    19         FILE_SUFFIX: '.html',
       
    20         HAS_SOURCE:  true
       
    21       };
       
    22     </script>
       
    23     <script type="text/javascript" src="_static/jquery.js"></script>
       
    24     <script type="text/javascript" src="_static/underscore.js"></script>
       
    25     <script type="text/javascript" src="_static/doctools.js"></script>
       
    26     <link rel="top" title="Jansson 2.7 documentation" href="index.html" />
       
    27     <link rel="prev" title="API Reference" href="apiref.html" /> 
       
    28   </head>
       
    29   <body>
       
    30     <div class="related">
       
    31       <h3>Navigation</h3>
       
    32       <ul>
       
    33         <li class="right" style="margin-right: 10px">
       
    34           <a href="genindex.html" title="General Index"
       
    35              accesskey="I">index</a></li>
       
    36         <li class="right" >
       
    37           <a href="apiref.html" title="API Reference"
       
    38              accesskey="P">previous</a> |</li>
       
    39         <li><a href="index.html">Jansson 2.7 documentation</a> &raquo;</li> 
       
    40       </ul>
       
    41     </div>  
       
    42 
       
    43     <div class="document">
       
    44       <div class="documentwrapper">
       
    45         <div class="bodywrapper">
       
    46           <div class="body">
       
    47             
       
    48   <div class="section" id="changes-in-jansson">
       
    49 <h1>Changes in Jansson<a class="headerlink" href="#changes-in-jansson" title="Permalink to this headline">¶</a></h1>
       
    50 <div class="section" id="version-2-7">
       
    51 <h2>Version 2.7<a class="headerlink" href="#version-2-7" title="Permalink to this headline">¶</a></h2>
       
    52 <p>Released 2014-10-02</p>
       
    53 <ul class="simple">
       
    54 <li>New features:<ul>
       
    55 <li><a class="reference internal" href="apiref.html#c.json_pack" title="json_pack"><tt class="xref c c-func docutils literal"><span class="pre">json_pack()</span></tt></a> and friends: Add format specifiers <tt class="docutils literal"><span class="pre">s%</span></tt> and <tt class="docutils literal"><span class="pre">+%</span></tt>
       
    56 for a size_t string length (#141).</li>
       
    57 <li><a class="reference internal" href="apiref.html#c.json_unpack" title="json_unpack"><tt class="xref c c-func docutils literal"><span class="pre">json_unpack()</span></tt></a> and friends: Add format specifier <tt class="docutils literal"><span class="pre">s%</span></tt> for
       
    58 unpacking the string length along with the string itself (#141).</li>
       
    59 <li>Add length-aware string constructors <a class="reference internal" href="apiref.html#c.json_stringn" title="json_stringn"><tt class="xref c c-func docutils literal"><span class="pre">json_stringn()</span></tt></a> and
       
    60 <a class="reference internal" href="apiref.html#c.json_stringn_nocheck" title="json_stringn_nocheck"><tt class="xref c c-func docutils literal"><span class="pre">json_stringn_nocheck()</span></tt></a>, length-aware string mutators
       
    61 <a class="reference internal" href="apiref.html#c.json_string_setn" title="json_string_setn"><tt class="xref c c-func docutils literal"><span class="pre">json_string_setn()</span></tt></a> and <a class="reference internal" href="apiref.html#c.json_string_setn_nocheck" title="json_string_setn_nocheck"><tt class="xref c c-func docutils literal"><span class="pre">json_string_setn_nocheck()</span></tt></a>, and a
       
    62 function for getting string&#8217;s length <a class="reference internal" href="apiref.html#c.json_string_length" title="json_string_length"><tt class="xref c c-func docutils literal"><span class="pre">json_string_length()</span></tt></a> (#141,
       
    63 #143).</li>
       
    64 <li>Support <tt class="docutils literal"><span class="pre">\u0000</span></tt> escapes in the decoder. The support can be
       
    65 enabled by using the <tt class="docutils literal"><span class="pre">JSON_ALLOW_NUL</span></tt> decoding flag (#141).</li>
       
    66 <li>Add <a class="reference internal" href="apiref.html#c.json_boolean_value" title="json_boolean_value"><tt class="xref c c-func docutils literal"><span class="pre">json_boolean_value()</span></tt></a> as an alias for <a class="reference internal" href="apiref.html#c.json_is_true" title="json_is_true"><tt class="xref c c-func docutils literal"><span class="pre">json_is_true()</span></tt></a>
       
    67 (#146).</li>
       
    68 <li>Add JSON_REAL_PRECISION encoding flag/macro for controlling real
       
    69 number precision (#178).</li>
       
    70 <li>Define the maximum indentation as JSON_MAX_INDENT (#191).</li>
       
    71 </ul>
       
    72 </li>
       
    73 <li>Bug fixes:<ul>
       
    74 <li>Some malformed <tt class="docutils literal"><span class="pre">\uNNNN</span></tt> escapes could crash the decoder with an
       
    75 assertion failure.</li>
       
    76 <li>Avoid integer overflows with very long strings in UTF-8 decoder and
       
    77 hashtable.</li>
       
    78 <li>Check for <em>NULL</em> key in <a class="reference internal" href="apiref.html#c.json_object_get" title="json_object_get"><tt class="xref c c-func docutils literal"><span class="pre">json_object_get()</span></tt></a> and
       
    79 <a class="reference internal" href="apiref.html#c.json_object_del" title="json_object_del"><tt class="xref c c-func docutils literal"><span class="pre">json_object_del()</span></tt></a> (#151).</li>
       
    80 <li>Enhance hashtable seeding on Windows (#162).</li>
       
    81 <li><a class="reference internal" href="apiref.html#c.json_unpack" title="json_unpack"><tt class="xref c c-func docutils literal"><span class="pre">json_unpack()</span></tt></a>: Allow mixing JSON_STRICT with optional keys
       
    82 (#162, #163).</li>
       
    83 <li>Fix int/int32 mismatch (#142).</li>
       
    84 <li>Parse subnormal numbers correctly (#202).</li>
       
    85 </ul>
       
    86 </li>
       
    87 <li>Build:<ul>
       
    88 <li>Remove VS2010 build files. CMake should be used on Windows instead
       
    89 (#165).</li>
       
    90 <li>Fix CMake build flags for MinGW (#193).</li>
       
    91 <li>Add CMake config files for find_package. Rename config.h to
       
    92 jansson_private_config.h (#157, #159).</li>
       
    93 <li>Make Valgrind checks work with CMake (#160).</li>
       
    94 <li>Fix feature checks to use correct __ATOMIC flags.</li>
       
    95 <li>Fix CMake checks for uint16_t and uint8_t support (#177).</li>
       
    96 <li>Make Jansson build on SmartOS/Solaris (#171).</li>
       
    97 <li>Work around a GCC bug on Solaris (#175).</li>
       
    98 <li>Fix autoreconf on Debian (#182).</li>
       
    99 <li>Don&#8217;t use GNU make specific export for global AM_CFLAGS (#203,
       
   100 #204).</li>
       
   101 <li>Fix building on Android using the supplied Android.mk (#166,
       
   102 #174).</li>
       
   103 <li>Android.mk: Add -DHAVE_STDINT_H to LOCAL_CFLAGS (#200).</li>
       
   104 </ul>
       
   105 </li>
       
   106 <li>Documentation:<ul>
       
   107 <li>Document JANSSON_BUILD_SHARED_LIBS CMake option (#187).</li>
       
   108 </ul>
       
   109 </li>
       
   110 <li>Tests:<ul>
       
   111 <li>Close file handles correctly (#198).</li>
       
   112 </ul>
       
   113 </li>
       
   114 <li>Other changes:<ul>
       
   115 <li><tt class="docutils literal"><span class="pre">\uNNNN</span></tt> escapes are now encoded in upper case for better
       
   116 readability.</li>
       
   117 <li>Enable usage of AddressSanitizer (#180).</li>
       
   118 </ul>
       
   119 </li>
       
   120 </ul>
       
   121 </div>
       
   122 <div class="section" id="version-2-6">
       
   123 <h2>Version 2.6<a class="headerlink" href="#version-2-6" title="Permalink to this headline">¶</a></h2>
       
   124 <p>Released 2014-02-11</p>
       
   125 <ul class="simple">
       
   126 <li>Security:<ul>
       
   127 <li>CVE-2013-6401: The hash function used by the hashtable
       
   128 implementation has been changed, and is automatically seeded with
       
   129 random data when the first JSON object is created. This prevents
       
   130 an attacker from causing large JSON objects with specially crafted
       
   131 keys perform poorly.</li>
       
   132 </ul>
       
   133 </li>
       
   134 <li>New features:<ul>
       
   135 <li><a class="reference internal" href="apiref.html#c.json_object_seed" title="json_object_seed"><tt class="xref c c-func docutils literal"><span class="pre">json_object_seed()</span></tt></a>: Set the seed value of the hash function.</li>
       
   136 </ul>
       
   137 </li>
       
   138 <li>Bug fixes:<ul>
       
   139 <li>Include CMake specific files in the release tarball.</li>
       
   140 </ul>
       
   141 </li>
       
   142 <li>Documentation:<ul>
       
   143 <li>Fix tutorial source to send a User-Agent header, which is now
       
   144 required by the GitHub API.</li>
       
   145 <li>Set all memory to zero in secure_free() example.</li>
       
   146 </ul>
       
   147 </li>
       
   148 </ul>
       
   149 </div>
       
   150 <div class="section" id="version-2-5">
       
   151 <h2>Version 2.5<a class="headerlink" href="#version-2-5" title="Permalink to this headline">¶</a></h2>
       
   152 <p>Released 2013-09-19</p>
       
   153 <ul class="simple">
       
   154 <li>New features:<ul>
       
   155 <li><a class="reference internal" href="apiref.html#c.json_pack" title="json_pack"><tt class="xref c c-func docutils literal"><span class="pre">json_pack()</span></tt></a> and friends: Add format specifiers <tt class="docutils literal"><span class="pre">s#</span></tt>, <tt class="docutils literal"><span class="pre">+</span></tt> and
       
   156 <tt class="docutils literal"><span class="pre">+#</span></tt>.</li>
       
   157 <li>Add <tt class="docutils literal"><span class="pre">JSON_DECODE_INT_AS_REAL</span></tt> decoding flag to treat all numbers
       
   158 as real in the decoder (#123).</li>
       
   159 <li>Add <a class="reference internal" href="apiref.html#c.json_array_foreach" title="json_array_foreach"><tt class="xref c c-func docutils literal"><span class="pre">json_array_foreach()</span></tt></a>, paralleling <a class="reference internal" href="apiref.html#c.json_object_foreach" title="json_object_foreach"><tt class="xref c c-func docutils literal"><span class="pre">json_object_foreach()</span></tt></a>
       
   160 (#118).</li>
       
   161 </ul>
       
   162 </li>
       
   163 <li>Bug fixes:<ul>
       
   164 <li><a class="reference internal" href="apiref.html#c.json_dumps" title="json_dumps"><tt class="xref c c-func docutils literal"><span class="pre">json_dumps()</span></tt></a> and friends: Don&#8217;t crash if json is <em>NULL</em> and
       
   165 <tt class="docutils literal"><span class="pre">JSON_ENCODE_ANY</span></tt> is set.</li>
       
   166 <li>Fix a theoretical integer overflow in <tt class="xref c c-func docutils literal"><span class="pre">jsonp_strdup()</span></tt>.</li>
       
   167 <li>Fix <tt class="xref c c-func docutils literal"><span class="pre">l_isxdigit()</span></tt> macro (#97).</li>
       
   168 <li>Fix an off-by-one error in <a class="reference internal" href="apiref.html#c.json_array_remove" title="json_array_remove"><tt class="xref c c-func docutils literal"><span class="pre">json_array_remove()</span></tt></a>.</li>
       
   169 </ul>
       
   170 </li>
       
   171 <li>Build:<ul>
       
   172 <li>Support CMake in addition to GNU Autotools (#106, #107, #112,
       
   173 #115, #120, #127).</li>
       
   174 <li>Support building for Android (#109).</li>
       
   175 <li>Don&#8217;t use <tt class="docutils literal"><span class="pre">-Werror</span></tt> by default.</li>
       
   176 <li>Support building and testing with VPATH (#93).</li>
       
   177 <li>Fix compilation when <tt class="docutils literal"><span class="pre">NDEBUG</span></tt> is defined (#128)</li>
       
   178 </ul>
       
   179 </li>
       
   180 <li>Tests:<ul>
       
   181 <li>Fix a refleak in <tt class="docutils literal"><span class="pre">test/bin/json_process.c</span></tt>.</li>
       
   182 </ul>
       
   183 </li>
       
   184 <li>Documentation:<ul>
       
   185 <li>Clarify the return value of <a class="reference internal" href="apiref.html#c.json_load_callback_t" title="json_load_callback_t"><tt class="xref c c-func docutils literal"><span class="pre">json_load_callback_t()</span></tt></a>.</li>
       
   186 <li>Document how to circumvent problems with separate heaps on Windows.</li>
       
   187 <li>Fix memory leaks and warnings in <tt class="docutils literal"><span class="pre">github_commits.c</span></tt>.</li>
       
   188 <li>Use <a class="reference internal" href="apiref.html#c.json_decref" title="json_decref"><tt class="xref c c-func docutils literal"><span class="pre">json_decref()</span></tt></a> properly in tutorial.</li>
       
   189 </ul>
       
   190 </li>
       
   191 <li>Other:<ul>
       
   192 <li>Make it possible to forward declare <tt class="docutils literal"><span class="pre">struct</span> <span class="pre">json_t</span></tt>.</li>
       
   193 </ul>
       
   194 </li>
       
   195 </ul>
       
   196 </div>
       
   197 <div class="section" id="version-2-4">
       
   198 <h2>Version 2.4<a class="headerlink" href="#version-2-4" title="Permalink to this headline">¶</a></h2>
       
   199 <p>Released 2012-09-23</p>
       
   200 <ul class="simple">
       
   201 <li>New features:<ul>
       
   202 <li>Add <a class="reference internal" href="apiref.html#c.json_boolean" title="json_boolean"><tt class="xref c c-func docutils literal"><span class="pre">json_boolean()</span></tt></a> macro that returns the JSON true or false
       
   203 value based on its argument (#86).</li>
       
   204 <li>Add <a class="reference internal" href="apiref.html#c.json_load_callback" title="json_load_callback"><tt class="xref c c-func docutils literal"><span class="pre">json_load_callback()</span></tt></a> that calls a callback function
       
   205 repeatedly to read the JSON input (#57).</li>
       
   206 <li>Add JSON_ESCAPE_SLASH encoding flag to escape all occurences of
       
   207 <tt class="docutils literal"><span class="pre">/</span></tt> with <tt class="docutils literal"><span class="pre">\/</span></tt>.</li>
       
   208 </ul>
       
   209 </li>
       
   210 <li>Bug fixes:<ul>
       
   211 <li>Check for and reject NaN and Inf values for reals. Encoding these
       
   212 values resulted in invalid JSON.</li>
       
   213 <li>Fix <a class="reference internal" href="apiref.html#c.json_real_set" title="json_real_set"><tt class="xref c c-func docutils literal"><span class="pre">json_real_set()</span></tt></a> to return -1 on error.</li>
       
   214 </ul>
       
   215 </li>
       
   216 <li>Build:<ul>
       
   217 <li>Jansson now builds on Windows with Visual Studio 2010, and
       
   218 includes solution and project files in <tt class="docutils literal"><span class="pre">win32/vs2010/</span></tt>
       
   219 directory.</li>
       
   220 <li>Fix build warnings (#77, #78).</li>
       
   221 <li>Add <tt class="docutils literal"><span class="pre">-no-undefined</span></tt> to LDFLAGS (#90).</li>
       
   222 </ul>
       
   223 </li>
       
   224 <li>Tests:<ul>
       
   225 <li>Fix the symbol exports test on Linux/PPC64 (#88).</li>
       
   226 </ul>
       
   227 </li>
       
   228 <li>Documentation:<ul>
       
   229 <li>Fix typos (#73, #84).</li>
       
   230 </ul>
       
   231 </li>
       
   232 </ul>
       
   233 </div>
       
   234 <div class="section" id="version-2-3-1">
       
   235 <h2>Version 2.3.1<a class="headerlink" href="#version-2-3-1" title="Permalink to this headline">¶</a></h2>
       
   236 <p>Released 2012-04-20</p>
       
   237 <ul class="simple">
       
   238 <li>Build issues:<ul>
       
   239 <li>Only use <tt class="docutils literal"><span class="pre">long</span> <span class="pre">long</span></tt> if <tt class="docutils literal"><span class="pre">strtoll()</span></tt> is also available.</li>
       
   240 </ul>
       
   241 </li>
       
   242 <li>Documentation:<ul>
       
   243 <li>Fix the names of library version constants in documentation. (#52)</li>
       
   244 <li>Change the tutorial to use GitHub API v3. (#65)</li>
       
   245 </ul>
       
   246 </li>
       
   247 <li>Tests:<ul>
       
   248 <li>Make some tests locale independent. (#51)</li>
       
   249 <li>Distribute the library exports test in the tarball.</li>
       
   250 <li>Make test run on shells that don&#8217;t support the <tt class="docutils literal"><span class="pre">export</span> <span class="pre">FOO=bar</span></tt>
       
   251 syntax.</li>
       
   252 </ul>
       
   253 </li>
       
   254 </ul>
       
   255 </div>
       
   256 <div class="section" id="version-2-3">
       
   257 <h2>Version 2.3<a class="headerlink" href="#version-2-3" title="Permalink to this headline">¶</a></h2>
       
   258 <p>Released 2012-01-27</p>
       
   259 <ul class="simple">
       
   260 <li>New features:<ul>
       
   261 <li><a class="reference internal" href="apiref.html#c.json_unpack" title="json_unpack"><tt class="xref c c-func docutils literal"><span class="pre">json_unpack()</span></tt></a> and friends: Add support for optional object keys
       
   262 with the <tt class="docutils literal"><span class="pre">{s?o}</span></tt> syntax.</li>
       
   263 <li>Add <a class="reference internal" href="apiref.html#c.json_object_update_existing" title="json_object_update_existing"><tt class="xref c c-func docutils literal"><span class="pre">json_object_update_existing()</span></tt></a> and
       
   264 <a class="reference internal" href="apiref.html#c.json_object_update_missing" title="json_object_update_missing"><tt class="xref c c-func docutils literal"><span class="pre">json_object_update_missing()</span></tt></a>, for updating only existing keys or
       
   265 only adding missing keys to an object. (#37)</li>
       
   266 <li>Add <a class="reference internal" href="apiref.html#c.json_object_foreach" title="json_object_foreach"><tt class="xref c c-func docutils literal"><span class="pre">json_object_foreach()</span></tt></a> for more convenient iteration over
       
   267 objects. (#45, #46)</li>
       
   268 <li>When decoding JSON, write the number of bytes that were read from
       
   269 input to <tt class="docutils literal"><span class="pre">error.position</span></tt> also on success. This is handy with
       
   270 <tt class="docutils literal"><span class="pre">JSON_DISABLE_EOF_CHECK</span></tt>.</li>
       
   271 <li>Add support for decoding any JSON value, not just arrays or
       
   272 objects. The support is enabled with the new <tt class="docutils literal"><span class="pre">JSON_DECODE_ANY</span></tt>
       
   273 flag. Patch by Andrea Marchesini. (#4)</li>
       
   274 </ul>
       
   275 </li>
       
   276 <li>Bug fixes<ul>
       
   277 <li>Avoid problems with object&#8217;s serial number growing too big. (#40,
       
   278 #41)</li>
       
   279 <li>Decoding functions now return NULL if the first argument is NULL.
       
   280 Patch by Andrea Marchesini.</li>
       
   281 <li>Include <tt class="docutils literal"><span class="pre">jansson_config.h.win32</span></tt> in the distribution tarball.</li>
       
   282 <li>Remove <tt class="docutils literal"><span class="pre">+</span></tt> and leading zeros from exponents in the encoder.
       
   283 (#39)</li>
       
   284 <li>Make Jansson build and work on MinGW. (#39, #38)</li>
       
   285 </ul>
       
   286 </li>
       
   287 <li>Documentation<ul>
       
   288 <li>Note that the same JSON values must not be encoded in parallel by
       
   289 separate threads. (#42)</li>
       
   290 <li>Document MinGW support.</li>
       
   291 </ul>
       
   292 </li>
       
   293 </ul>
       
   294 </div>
       
   295 <div class="section" id="version-2-2-1">
       
   296 <h2>Version 2.2.1<a class="headerlink" href="#version-2-2-1" title="Permalink to this headline">¶</a></h2>
       
   297 <p>Released 2011-10-06</p>
       
   298 <ul class="simple">
       
   299 <li>Bug fixes:<ul>
       
   300 <li>Fix real number encoding and decoding under non-C locales. (#32)</li>
       
   301 <li>Fix identifier decoding under non-UTF-8 locales. (#35)</li>
       
   302 <li><a class="reference internal" href="apiref.html#c.json_load_file" title="json_load_file"><tt class="xref c c-func docutils literal"><span class="pre">json_load_file()</span></tt></a>: Open the input file in binary mode for maximum
       
   303 compatiblity.</li>
       
   304 </ul>
       
   305 </li>
       
   306 <li>Documentation:<ul>
       
   307 <li>Clarify the lifecycle of the result of the <tt class="docutils literal"><span class="pre">s</span></tt> fromat of
       
   308 <a class="reference internal" href="apiref.html#c.json_unpack" title="json_unpack"><tt class="xref c c-func docutils literal"><span class="pre">json_unpack()</span></tt></a>. (#31)</li>
       
   309 <li>Add some portability info. (#36)</li>
       
   310 <li>Little clarifications here and there.</li>
       
   311 </ul>
       
   312 </li>
       
   313 <li>Other:<ul>
       
   314 <li>Some style fixes, issues detected by static analyzers.</li>
       
   315 </ul>
       
   316 </li>
       
   317 </ul>
       
   318 </div>
       
   319 <div class="section" id="version-2-2">
       
   320 <h2>Version 2.2<a class="headerlink" href="#version-2-2" title="Permalink to this headline">¶</a></h2>
       
   321 <p>Released 2011-09-03</p>
       
   322 <ul class="simple">
       
   323 <li>New features:<ul>
       
   324 <li><a class="reference internal" href="apiref.html#c.json_dump_callback" title="json_dump_callback"><tt class="xref c c-func docutils literal"><span class="pre">json_dump_callback()</span></tt></a>: Pass the encoder output to a callback
       
   325 function in chunks.</li>
       
   326 </ul>
       
   327 </li>
       
   328 <li>Bug fixes:<ul>
       
   329 <li><a class="reference internal" href="apiref.html#c.json_string_set" title="json_string_set"><tt class="xref c c-func docutils literal"><span class="pre">json_string_set()</span></tt></a>: Check that target is a string and value is
       
   330 not NULL.</li>
       
   331 </ul>
       
   332 </li>
       
   333 <li>Other:<ul>
       
   334 <li>Documentation typo fixes and clarifications.</li>
       
   335 </ul>
       
   336 </li>
       
   337 </ul>
       
   338 </div>
       
   339 <div class="section" id="version-2-1">
       
   340 <h2>Version 2.1<a class="headerlink" href="#version-2-1" title="Permalink to this headline">¶</a></h2>
       
   341 <p>Released 2011-06-10</p>
       
   342 <ul class="simple">
       
   343 <li>New features:<ul>
       
   344 <li><a class="reference internal" href="apiref.html#c.json_loadb" title="json_loadb"><tt class="xref c c-func docutils literal"><span class="pre">json_loadb()</span></tt></a>: Decode a string with a given size, useful if the
       
   345 string is not null terminated.</li>
       
   346 <li>Add <tt class="docutils literal"><span class="pre">JSON_ENCODE_ANY</span></tt> encoding flag to allow encoding any JSON
       
   347 value. By default, only arrays and objects can be encoded. (#19)</li>
       
   348 <li>Add <tt class="docutils literal"><span class="pre">JSON_REJECT_DUPLICATES</span></tt> decoding flag to issue a decoding
       
   349 error if any JSON object in the input contins duplicate keys. (#3)</li>
       
   350 <li>Add <tt class="docutils literal"><span class="pre">JSON_DISABLE_EOF_CHECK</span></tt> decoding flag to stop decoding after a
       
   351 valid JSON input. This allows other data after the JSON data.</li>
       
   352 </ul>
       
   353 </li>
       
   354 <li>Bug fixes:<ul>
       
   355 <li>Fix an additional memory leak when memory allocation fails in
       
   356 <a class="reference internal" href="apiref.html#c.json_object_set" title="json_object_set"><tt class="xref c c-func docutils literal"><span class="pre">json_object_set()</span></tt></a> and friends.</li>
       
   357 <li>Clear errno before calling <tt class="xref c c-func docutils literal"><span class="pre">strtod()</span></tt> for better portability. (#27)</li>
       
   358 </ul>
       
   359 </li>
       
   360 <li>Building:<ul>
       
   361 <li>Avoid set-but-not-used warning/error in a test. (#20)</li>
       
   362 </ul>
       
   363 </li>
       
   364 <li>Other:<ul>
       
   365 <li>Minor clarifications to documentation.</li>
       
   366 </ul>
       
   367 </li>
       
   368 </ul>
       
   369 </div>
       
   370 <div class="section" id="version-2-0-1">
       
   371 <h2>Version 2.0.1<a class="headerlink" href="#version-2-0-1" title="Permalink to this headline">¶</a></h2>
       
   372 <p>Released 2011-03-31</p>
       
   373 <ul class="simple">
       
   374 <li>Bug fixes:<ul>
       
   375 <li>Replace a few <tt class="xref c c-func docutils literal"><span class="pre">malloc()</span></tt> and <tt class="xref c c-func docutils literal"><span class="pre">free()</span></tt> calls with their
       
   376 counterparts that support custom memory management.</li>
       
   377 <li>Fix object key hashing in json_unpack() strict checking mode.</li>
       
   378 <li>Fix the parentheses in <tt class="docutils literal"><span class="pre">JANSSON_VERSION_HEX</span></tt> macro.</li>
       
   379 <li>Fix <a class="reference internal" href="apiref.html#c.json_object_size" title="json_object_size"><tt class="xref c c-func docutils literal"><span class="pre">json_object_size()</span></tt></a> return value.</li>
       
   380 <li>Fix a few compilation issues.</li>
       
   381 </ul>
       
   382 </li>
       
   383 <li>Portability:<ul>
       
   384 <li>Enhance portability of <tt class="xref c c-func docutils literal"><span class="pre">va_copy()</span></tt>.</li>
       
   385 <li>Test framework portability enhancements.</li>
       
   386 </ul>
       
   387 </li>
       
   388 <li>Documentation:<ul>
       
   389 <li>Distribute <tt class="docutils literal"><span class="pre">doc/upgrading.rst</span></tt> with the source tarball.</li>
       
   390 <li>Build documentation in strict mode in <tt class="docutils literal"><span class="pre">make</span> <span class="pre">distcheck</span></tt>.</li>
       
   391 </ul>
       
   392 </li>
       
   393 </ul>
       
   394 </div>
       
   395 <div class="section" id="version-2-0">
       
   396 <h2>Version 2.0<a class="headerlink" href="#version-2-0" title="Permalink to this headline">¶</a></h2>
       
   397 <p>Released 2011-02-28</p>
       
   398 <p>This release is backwards incompatible with the 1.x release series.
       
   399 See the chapter &#8220;Upgrading from older versions&#8221; in documentation for
       
   400 details.</p>
       
   401 <ul class="simple">
       
   402 <li>Backwards incompatible changes:<ul>
       
   403 <li>Unify unsigned integer usage in the API: All occurences of
       
   404 unsigned int and unsigned long have been replaced with size_t.</li>
       
   405 <li>Change JSON integer&#8217;s underlying type to the widest signed integer
       
   406 type available, i.e. long long if it&#8217;s supported, otherwise long.
       
   407 Add a typedef json_int_t that defines the type.</li>
       
   408 <li>Change the maximum indentation depth to 31 spaces in encoder. This
       
   409 frees up bits from the flags parameter of encoding functions
       
   410 <a class="reference internal" href="apiref.html#c.json_dumpf" title="json_dumpf"><tt class="xref c c-func docutils literal"><span class="pre">json_dumpf()</span></tt></a>, <a class="reference internal" href="apiref.html#c.json_dumps" title="json_dumps"><tt class="xref c c-func docutils literal"><span class="pre">json_dumps()</span></tt></a> and <a class="reference internal" href="apiref.html#c.json_dump_file" title="json_dump_file"><tt class="xref c c-func docutils literal"><span class="pre">json_dump_file()</span></tt></a>.</li>
       
   411 <li>For future needs, add a flags parameter to all decoding functions
       
   412 <a class="reference internal" href="apiref.html#c.json_loadf" title="json_loadf"><tt class="xref c c-func docutils literal"><span class="pre">json_loadf()</span></tt></a>, <a class="reference internal" href="apiref.html#c.json_loads" title="json_loads"><tt class="xref c c-func docutils literal"><span class="pre">json_loads()</span></tt></a> and <a class="reference internal" href="apiref.html#c.json_load_file" title="json_load_file"><tt class="xref c c-func docutils literal"><span class="pre">json_load_file()</span></tt></a>.</li>
       
   413 </ul>
       
   414 </li>
       
   415 <li>New features<ul>
       
   416 <li><a class="reference internal" href="apiref.html#c.json_pack" title="json_pack"><tt class="xref c c-func docutils literal"><span class="pre">json_pack()</span></tt></a>, <a class="reference internal" href="apiref.html#c.json_pack_ex" title="json_pack_ex"><tt class="xref c c-func docutils literal"><span class="pre">json_pack_ex()</span></tt></a>, <a class="reference internal" href="apiref.html#c.json_vpack_ex" title="json_vpack_ex"><tt class="xref c c-func docutils literal"><span class="pre">json_vpack_ex()</span></tt></a>: Create JSON
       
   417 values based on a format string.</li>
       
   418 <li><a class="reference internal" href="apiref.html#c.json_unpack" title="json_unpack"><tt class="xref c c-func docutils literal"><span class="pre">json_unpack()</span></tt></a>, <a class="reference internal" href="apiref.html#c.json_unpack_ex" title="json_unpack_ex"><tt class="xref c c-func docutils literal"><span class="pre">json_unpack_ex()</span></tt></a>, <a class="reference internal" href="apiref.html#c.json_vunpack_ex" title="json_vunpack_ex"><tt class="xref c c-func docutils literal"><span class="pre">json_vunpack_ex()</span></tt></a>: Simple
       
   419 value extraction and validation functionality based on a format
       
   420 string.</li>
       
   421 <li>Add column, position and source fields to the <tt class="docutils literal"><span class="pre">json_error_t</span></tt>
       
   422 struct.</li>
       
   423 <li>Enhance error reporting in the decoder.</li>
       
   424 <li><tt class="docutils literal"><span class="pre">JANSSON_VERSION</span></tt> et al.: Preprocessor constants that define the
       
   425 library version.</li>
       
   426 <li><a class="reference internal" href="apiref.html#c.json_set_alloc_funcs" title="json_set_alloc_funcs"><tt class="xref c c-func docutils literal"><span class="pre">json_set_alloc_funcs()</span></tt></a>: Set custom memory allocation functions.</li>
       
   427 </ul>
       
   428 </li>
       
   429 <li>Fix many portability issues, especially on Windows.</li>
       
   430 <li>Configuration<ul>
       
   431 <li>Add file <tt class="docutils literal"><span class="pre">jansson_config.h</span></tt> that contains site specific
       
   432 configuration. It&#8217;s created automatically by the configure script,
       
   433 or can be created by hand if the configure script cannot be used.
       
   434 The file <tt class="docutils literal"><span class="pre">jansson_config.h.win32</span></tt> can be used without
       
   435 modifications on Windows systems.</li>
       
   436 <li>Add a section to documentation describing how to build Jansson on
       
   437 Windows.</li>
       
   438 <li>Documentation now requires Sphinx 1.0 or newer.</li>
       
   439 </ul>
       
   440 </li>
       
   441 </ul>
       
   442 </div>
       
   443 <div class="section" id="version-1-3">
       
   444 <h2>Version 1.3<a class="headerlink" href="#version-1-3" title="Permalink to this headline">¶</a></h2>
       
   445 <p>Released 2010-06-13</p>
       
   446 <ul class="simple">
       
   447 <li>New functions:<ul>
       
   448 <li><a class="reference internal" href="apiref.html#c.json_object_iter_set" title="json_object_iter_set"><tt class="xref c c-func docutils literal"><span class="pre">json_object_iter_set()</span></tt></a>, <a class="reference internal" href="apiref.html#c.json_object_iter_set_new" title="json_object_iter_set_new"><tt class="xref c c-func docutils literal"><span class="pre">json_object_iter_set_new()</span></tt></a>: Change
       
   449 object contents while iterating over it.</li>
       
   450 <li><a class="reference internal" href="apiref.html#c.json_object_iter_at" title="json_object_iter_at"><tt class="xref c c-func docutils literal"><span class="pre">json_object_iter_at()</span></tt></a>: Return an iterator that points to a
       
   451 specific object item.</li>
       
   452 </ul>
       
   453 </li>
       
   454 <li>New encoding flags:<ul>
       
   455 <li><tt class="docutils literal"><span class="pre">JSON_PRESERVE_ORDER</span></tt>: Preserve the insertion order of object
       
   456 keys.</li>
       
   457 </ul>
       
   458 </li>
       
   459 <li>Bug fixes:<ul>
       
   460 <li>Fix an error that occured when an array or object was first
       
   461 encoded as empty, then populated with some data, and then
       
   462 re-encoded</li>
       
   463 <li>Fix the situation like above, but when the first encoding resulted
       
   464 in an error</li>
       
   465 </ul>
       
   466 </li>
       
   467 <li>Documentation:<ul>
       
   468 <li>Clarify the documentation on reference stealing, providing an
       
   469 example usage pattern</li>
       
   470 </ul>
       
   471 </li>
       
   472 </ul>
       
   473 </div>
       
   474 <div class="section" id="version-1-2-1">
       
   475 <h2>Version 1.2.1<a class="headerlink" href="#version-1-2-1" title="Permalink to this headline">¶</a></h2>
       
   476 <p>Released 2010-04-03</p>
       
   477 <ul class="simple">
       
   478 <li>Bug fixes:<ul>
       
   479 <li>Fix reference counting on <tt class="docutils literal"><span class="pre">true</span></tt>, <tt class="docutils literal"><span class="pre">false</span></tt> and <tt class="docutils literal"><span class="pre">null</span></tt></li>
       
   480 <li>Estimate real number underflows in decoder with 0.0 instead of
       
   481 issuing an error</li>
       
   482 </ul>
       
   483 </li>
       
   484 <li>Portability:<ul>
       
   485 <li>Make <tt class="docutils literal"><span class="pre">int32_t</span></tt> available on all systems</li>
       
   486 <li>Support compilers that don&#8217;t have the <tt class="docutils literal"><span class="pre">inline</span></tt> keyword</li>
       
   487 <li>Require Autoconf 2.60 (for <tt class="docutils literal"><span class="pre">int32_t</span></tt>)</li>
       
   488 </ul>
       
   489 </li>
       
   490 <li>Tests:<ul>
       
   491 <li>Print test names correctly when <tt class="docutils literal"><span class="pre">VERBOSE=1</span></tt></li>
       
   492 <li><tt class="docutils literal"><span class="pre">test/suites/api</span></tt>: Fail when a test fails</li>
       
   493 <li>Enhance tests for iterators</li>
       
   494 <li>Enhance tests for decoding texts that contain null bytes</li>
       
   495 </ul>
       
   496 </li>
       
   497 <li>Documentation:<ul>
       
   498 <li>Don&#8217;t remove <tt class="docutils literal"><span class="pre">changes.rst</span></tt> in <tt class="docutils literal"><span class="pre">make</span> <span class="pre">clean</span></tt></li>
       
   499 <li>Add a chapter on RFC conformance</li>
       
   500 </ul>
       
   501 </li>
       
   502 </ul>
       
   503 </div>
       
   504 <div class="section" id="version-1-2">
       
   505 <h2>Version 1.2<a class="headerlink" href="#version-1-2" title="Permalink to this headline">¶</a></h2>
       
   506 <p>Released 2010-01-21</p>
       
   507 <ul class="simple">
       
   508 <li>New functions:<ul>
       
   509 <li><a class="reference internal" href="apiref.html#c.json_equal" title="json_equal"><tt class="xref c c-func docutils literal"><span class="pre">json_equal()</span></tt></a>: Test whether two JSON values are equal</li>
       
   510 <li><a class="reference internal" href="apiref.html#c.json_copy" title="json_copy"><tt class="xref c c-func docutils literal"><span class="pre">json_copy()</span></tt></a> and <a class="reference internal" href="apiref.html#c.json_deep_copy" title="json_deep_copy"><tt class="xref c c-func docutils literal"><span class="pre">json_deep_copy()</span></tt></a>: Make shallow and deep copies
       
   511 of JSON values</li>
       
   512 <li>Add a version of all functions taking a string argument that
       
   513 doesn&#8217;t check for valid UTF-8: <a class="reference internal" href="apiref.html#c.json_string_nocheck" title="json_string_nocheck"><tt class="xref c c-func docutils literal"><span class="pre">json_string_nocheck()</span></tt></a>,
       
   514 <a class="reference internal" href="apiref.html#c.json_string_set_nocheck" title="json_string_set_nocheck"><tt class="xref c c-func docutils literal"><span class="pre">json_string_set_nocheck()</span></tt></a>, <a class="reference internal" href="apiref.html#c.json_object_set_nocheck" title="json_object_set_nocheck"><tt class="xref c c-func docutils literal"><span class="pre">json_object_set_nocheck()</span></tt></a>,
       
   515 <a class="reference internal" href="apiref.html#c.json_object_set_new_nocheck" title="json_object_set_new_nocheck"><tt class="xref c c-func docutils literal"><span class="pre">json_object_set_new_nocheck()</span></tt></a></li>
       
   516 </ul>
       
   517 </li>
       
   518 <li>New encoding flags:<ul>
       
   519 <li><tt class="docutils literal"><span class="pre">JSON_SORT_KEYS</span></tt>: Sort objects by key</li>
       
   520 <li><tt class="docutils literal"><span class="pre">JSON_ENSURE_ASCII</span></tt>: Escape all non-ASCII Unicode characters</li>
       
   521 <li><tt class="docutils literal"><span class="pre">JSON_COMPACT</span></tt>: Use a compact representation with all unneeded
       
   522 whitespace stripped</li>
       
   523 </ul>
       
   524 </li>
       
   525 <li>Bug fixes:<ul>
       
   526 <li>Revise and unify whitespace usage in encoder: Add spaces between
       
   527 array and object items, never append newline to output.</li>
       
   528 <li>Remove const qualifier from the <tt class="docutils literal"><span class="pre">json_t</span></tt> parameter in
       
   529 <a class="reference internal" href="apiref.html#c.json_string_set" title="json_string_set"><tt class="xref c c-func docutils literal"><span class="pre">json_string_set()</span></tt></a>, <a class="reference internal" href="apiref.html#c.json_integer_set" title="json_integer_set"><tt class="xref c c-func docutils literal"><span class="pre">json_integer_set()</span></tt></a> and <a class="reference internal" href="apiref.html#c.json_real_set" title="json_real_set"><tt class="xref c c-func docutils literal"><span class="pre">json_real_set()</span></tt></a>.</li>
       
   530 <li>Use <tt class="docutils literal"><span class="pre">int32_t</span></tt> internally for representing Unicode code points
       
   531 (int is not enough on all platforms)</li>
       
   532 </ul>
       
   533 </li>
       
   534 <li>Other changes:<ul>
       
   535 <li>Convert <tt class="docutils literal"><span class="pre">CHANGES</span></tt> (this file) to reStructured text and add it to
       
   536 HTML documentation</li>
       
   537 <li>The test system has been refactored. Python is no longer required
       
   538 to run the tests.</li>
       
   539 <li>Documentation can now be built by invoking <tt class="docutils literal"><span class="pre">make</span> <span class="pre">html</span></tt></li>
       
   540 <li>Support for pkg-config</li>
       
   541 </ul>
       
   542 </li>
       
   543 </ul>
       
   544 </div>
       
   545 <div class="section" id="version-1-1-3">
       
   546 <h2>Version 1.1.3<a class="headerlink" href="#version-1-1-3" title="Permalink to this headline">¶</a></h2>
       
   547 <p>Released 2009-12-18</p>
       
   548 <ul class="simple">
       
   549 <li>Encode reals correctly, so that first encoding and then decoding a
       
   550 real always produces the same value</li>
       
   551 <li>Don&#8217;t export private symbols in <tt class="docutils literal"><span class="pre">libjansson.so</span></tt></li>
       
   552 </ul>
       
   553 </div>
       
   554 <div class="section" id="version-1-1-2">
       
   555 <h2>Version 1.1.2<a class="headerlink" href="#version-1-1-2" title="Permalink to this headline">¶</a></h2>
       
   556 <p>Released 2009-11-08</p>
       
   557 <ul class="simple">
       
   558 <li>Fix a bug where an error message was not produced if the input file
       
   559 could not be opened in <a class="reference internal" href="apiref.html#c.json_load_file" title="json_load_file"><tt class="xref c c-func docutils literal"><span class="pre">json_load_file()</span></tt></a></li>
       
   560 <li>Fix an assertion failure in decoder caused by a minus sign without a
       
   561 digit after it</li>
       
   562 <li>Remove an unneeded include of <tt class="docutils literal"><span class="pre">stdint.h</span></tt> in <tt class="docutils literal"><span class="pre">jansson.h</span></tt></li>
       
   563 </ul>
       
   564 </div>
       
   565 <div class="section" id="version-1-1-1">
       
   566 <h2>Version 1.1.1<a class="headerlink" href="#version-1-1-1" title="Permalink to this headline">¶</a></h2>
       
   567 <p>Released 2009-10-26</p>
       
   568 <ul class="simple">
       
   569 <li>All documentation files were not distributed with v1.1; build
       
   570 documentation in make distcheck to prevent this in the future</li>
       
   571 <li>Fix v1.1 release date in <tt class="docutils literal"><span class="pre">CHANGES</span></tt></li>
       
   572 </ul>
       
   573 </div>
       
   574 <div class="section" id="version-1-1">
       
   575 <h2>Version 1.1<a class="headerlink" href="#version-1-1" title="Permalink to this headline">¶</a></h2>
       
   576 <p>Released 2009-10-20</p>
       
   577 <ul class="simple">
       
   578 <li>API additions and improvements:<ul>
       
   579 <li>Extend array and object APIs</li>
       
   580 <li>Add functions to modify integer, real and string values</li>
       
   581 <li>Improve argument validation</li>
       
   582 <li>Use unsigned int instead of <tt class="docutils literal"><span class="pre">uint32_t</span></tt> for encoding flags</li>
       
   583 </ul>
       
   584 </li>
       
   585 <li>Enhance documentation<ul>
       
   586 <li>Add getting started guide and tutorial</li>
       
   587 <li>Fix some typos</li>
       
   588 <li>General clarifications and cleanup</li>
       
   589 </ul>
       
   590 </li>
       
   591 <li>Check for integer and real overflows and underflows in decoder</li>
       
   592 <li>Make singleton values thread-safe (<tt class="docutils literal"><span class="pre">true</span></tt>, <tt class="docutils literal"><span class="pre">false</span></tt> and <tt class="docutils literal"><span class="pre">null</span></tt>)</li>
       
   593 <li>Enhance circular reference handling</li>
       
   594 <li>Don&#8217;t define <tt class="docutils literal"><span class="pre">-std=c99</span></tt> in <tt class="docutils literal"><span class="pre">AM_CFLAGS</span></tt></li>
       
   595 <li>Add C++ guards to <tt class="docutils literal"><span class="pre">jansson.h</span></tt></li>
       
   596 <li>Minor performance and portability improvements</li>
       
   597 <li>Expand test coverage</li>
       
   598 </ul>
       
   599 </div>
       
   600 <div class="section" id="version-1-0-4">
       
   601 <h2>Version 1.0.4<a class="headerlink" href="#version-1-0-4" title="Permalink to this headline">¶</a></h2>
       
   602 <p>Released 2009-10-11</p>
       
   603 <ul class="simple">
       
   604 <li>Relax Autoconf version requirement to 2.59</li>
       
   605 <li>Make Jansson compile on platforms where plain <tt class="docutils literal"><span class="pre">char</span></tt> is unsigned</li>
       
   606 <li>Fix API tests for object</li>
       
   607 </ul>
       
   608 </div>
       
   609 <div class="section" id="version-1-0-3">
       
   610 <h2>Version 1.0.3<a class="headerlink" href="#version-1-0-3" title="Permalink to this headline">¶</a></h2>
       
   611 <p>Released 2009-09-14</p>
       
   612 <ul class="simple">
       
   613 <li>Check for integer and real overflows and underflows in decoder</li>
       
   614 <li>Use the Python json module for tests, or simplejson if the json
       
   615 module is not found</li>
       
   616 <li>Distribute changelog (this file)</li>
       
   617 </ul>
       
   618 </div>
       
   619 <div class="section" id="version-1-0-2">
       
   620 <h2>Version 1.0.2<a class="headerlink" href="#version-1-0-2" title="Permalink to this headline">¶</a></h2>
       
   621 <p>Released 2009-09-08</p>
       
   622 <ul class="simple">
       
   623 <li>Handle EOF correctly in decoder</li>
       
   624 </ul>
       
   625 </div>
       
   626 <div class="section" id="version-1-0-1">
       
   627 <h2>Version 1.0.1<a class="headerlink" href="#version-1-0-1" title="Permalink to this headline">¶</a></h2>
       
   628 <p>Released 2009-09-04</p>
       
   629 <ul class="simple">
       
   630 <li>Fixed broken <a class="reference internal" href="apiref.html#c.json_is_boolean" title="json_is_boolean"><tt class="xref c c-func docutils literal"><span class="pre">json_is_boolean()</span></tt></a></li>
       
   631 </ul>
       
   632 </div>
       
   633 <div class="section" id="version-1-0">
       
   634 <h2>Version 1.0<a class="headerlink" href="#version-1-0" title="Permalink to this headline">¶</a></h2>
       
   635 <p>Released 2009-08-25</p>
       
   636 <ul class="simple">
       
   637 <li>Initial release</li>
       
   638 </ul>
       
   639 </div>
       
   640 </div>
       
   641 
       
   642 
       
   643           </div>
       
   644         </div>
       
   645       </div>
       
   646       <div class="sphinxsidebar">
       
   647         <div class="sphinxsidebarwrapper">
       
   648   <h3><a href="index.html">Table Of Contents</a></h3>
       
   649   <ul>
       
   650 <li><a class="reference internal" href="#">Changes in Jansson</a><ul>
       
   651 <li><a class="reference internal" href="#version-2-7">Version 2.7</a></li>
       
   652 <li><a class="reference internal" href="#version-2-6">Version 2.6</a></li>
       
   653 <li><a class="reference internal" href="#version-2-5">Version 2.5</a></li>
       
   654 <li><a class="reference internal" href="#version-2-4">Version 2.4</a></li>
       
   655 <li><a class="reference internal" href="#version-2-3-1">Version 2.3.1</a></li>
       
   656 <li><a class="reference internal" href="#version-2-3">Version 2.3</a></li>
       
   657 <li><a class="reference internal" href="#version-2-2-1">Version 2.2.1</a></li>
       
   658 <li><a class="reference internal" href="#version-2-2">Version 2.2</a></li>
       
   659 <li><a class="reference internal" href="#version-2-1">Version 2.1</a></li>
       
   660 <li><a class="reference internal" href="#version-2-0-1">Version 2.0.1</a></li>
       
   661 <li><a class="reference internal" href="#version-2-0">Version 2.0</a></li>
       
   662 <li><a class="reference internal" href="#version-1-3">Version 1.3</a></li>
       
   663 <li><a class="reference internal" href="#version-1-2-1">Version 1.2.1</a></li>
       
   664 <li><a class="reference internal" href="#version-1-2">Version 1.2</a></li>
       
   665 <li><a class="reference internal" href="#version-1-1-3">Version 1.1.3</a></li>
       
   666 <li><a class="reference internal" href="#version-1-1-2">Version 1.1.2</a></li>
       
   667 <li><a class="reference internal" href="#version-1-1-1">Version 1.1.1</a></li>
       
   668 <li><a class="reference internal" href="#version-1-1">Version 1.1</a></li>
       
   669 <li><a class="reference internal" href="#version-1-0-4">Version 1.0.4</a></li>
       
   670 <li><a class="reference internal" href="#version-1-0-3">Version 1.0.3</a></li>
       
   671 <li><a class="reference internal" href="#version-1-0-2">Version 1.0.2</a></li>
       
   672 <li><a class="reference internal" href="#version-1-0-1">Version 1.0.1</a></li>
       
   673 <li><a class="reference internal" href="#version-1-0">Version 1.0</a></li>
       
   674 </ul>
       
   675 </li>
       
   676 </ul>
       
   677 
       
   678   <h4>Previous topic</h4>
       
   679   <p class="topless"><a href="apiref.html"
       
   680                         title="previous chapter">API Reference</a></p>
       
   681   <h3>This Page</h3>
       
   682   <ul class="this-page-menu">
       
   683     <li><a href="_sources/changes.txt"
       
   684            rel="nofollow">Show Source</a></li>
       
   685   </ul>
       
   686 <div id="searchbox" style="display: none">
       
   687   <h3>Quick search</h3>
       
   688     <form class="search" action="search.html" method="get">
       
   689       <input type="text" name="q" />
       
   690       <input type="submit" value="Go" />
       
   691       <input type="hidden" name="check_keywords" value="yes" />
       
   692       <input type="hidden" name="area" value="default" />
       
   693     </form>
       
   694     <p class="searchtip" style="font-size: 90%">
       
   695     Enter search terms or a module, class or function name.
       
   696     </p>
       
   697 </div>
       
   698 <script type="text/javascript">$('#searchbox').show(0);</script>
       
   699         </div>
       
   700       </div>
       
   701       <div class="clearer"></div>
       
   702     </div>
       
   703     <div class="related">
       
   704       <h3>Navigation</h3>
       
   705       <ul>
       
   706         <li class="right" style="margin-right: 10px">
       
   707           <a href="genindex.html" title="General Index"
       
   708              >index</a></li>
       
   709         <li class="right" >
       
   710           <a href="apiref.html" title="API Reference"
       
   711              >previous</a> |</li>
       
   712         <li><a href="index.html">Jansson 2.7 documentation</a> &raquo;</li> 
       
   713       </ul>
       
   714     </div>
       
   715     <div class="footer">
       
   716         &copy; Copyright 2009-2014, Petri Lehtinen.
       
   717       Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.2.
       
   718     </div>
       
   719   </body>
       
   720 </html>