diff options
author | Petri Lehtinen <petri@digip.org> | 2012-01-27 21:02:12 +0200 |
---|---|---|
committer | Petri Lehtinen <petri@digip.org> | 2012-01-27 21:02:12 +0200 |
commit | f227483846e6febf7f43398d8cfa27cffc79e4b4 (patch) | |
tree | b2744befeb60da9273780b1eae9bfe0bd95fe222 /CHANGES | |
parent | 6cb14dd33707cd448f1ea3baee0ab2a6116aee0f (diff) | |
download | jansson-f227483846e6febf7f43398d8cfa27cffc79e4b4.zip jansson-f227483846e6febf7f43398d8cfa27cffc79e4b4.tar.gz jansson-f227483846e6febf7f43398d8cfa27cffc79e4b4.tar.bz2 |
jansson 2.3v2.3
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 48 |
1 files changed, 48 insertions, 0 deletions
@@ -1,3 +1,51 @@ +Version 2.3 +=========== + +Released 2012-01-27 + +* New features: + + - `json_unpack()` and friends: Add support for optional object keys + with the ``{s?o}`` syntax. + + - Add `json_object_update_existing()` and + `json_object_update_missing()`, for updating only existing keys or + only adding missing keys to an object. (#37) + + - Add `json_object_foreach()` for more convenient iteration over + objects. (#45, #46) + + - When decoding JSON, write the number of bytes that were read from + input to ``error.position`` also on success. This is handy with + ``JSON_DISABLE_EOF_CHECK``. + + - Add support for decoding any JSON value, not just arrays or + objects. The support is enabled with the new ``JSON_DECODE_ANY`` + flag. Patch by Andrea Marchesini. (#4) + +* Bug fixes + + - Avoid problems with object's serial number growing too big. (#40, + #41) + + - Decoding functions now return NULL if the first argument is NULL. + Patch by Andrea Marchesini. + + - Include ``jansson_config.h.win32`` in the distribution tarball. + + - Remove ``+`` and leading zeros from exponents in the encoder. + (#39) + + - Make Jansson build and work on MinGW. (#39, #38) + +* Documentation + + - Note that the same JSON values must not be encoded in parallel by + separate threads. (#42) + + - Document MinGW support. + + Version 2.2.1 ============= |