Updated: jansson 2.15.1 - JSON data encoding, decoding, and manipulating C library

Cygwin jansson Maintainer Brian.Inglis@SystematicSW.ab.ca
Mon Sep 14 07:11:26 GMT 2026


Jansson is a JSON data encoding, decoding, and manipulating C library.

For more information see the project home page:

	https://github.com/akheron/jansson

The following packages have been upgraded in the Cygwin distribution:

- libjansson-doc	2.15.1
- libjansson-devel	2.15.1
- libjansson4		2.15.1

For changes since the previous Cygwin release, see below or after
installation read /usr/share/doc/jansson/CHANGES:

	https://jansson.readthedocs.io/en/latest/changes.html#version-2-15-1


2026-06-30	2.15.1

Fixes:

- Include the object key or array index in unpack type mismatch error messages
- Reject negative string length in the 'json_pack' 's#' and '+#' formats
- Limit recursion depth in dump, equal and deep copy to prevent stack overflow

Build:

- Only export symbols starting with 'json_' and 'jansson_' from the CMake build
- Include 'jansson_private_config.h' only if 'HAVE_CONFIG_H' is enabled
- Add a configurable pkg-config install path to the CMake build
- Only use '--default-symver' when the linker supports it


2026-01-24	2.15

New features:

- Add support for realloc by adding 'json_set_alloc_funcs2',
  'json_get_alloc_funcs2'

Fixes:

- Optimize serialization
- Fix docstrings in hashtable.h

Build

- Use target-based cmake settings


2025-03-23	2.14.1

Fixes:

- Fix thread safety of encoding and decoding when 'uselocale' or
  'newlocale' is used to switch locales inside the threads

- Use David M. Gay's 'dtoa()' algorithm to avoid misprinting issues of
  real numbers that are not exactly representable as a 'double'

  If this is not desirable, use './configure --disable-dtoa' or
  'cmake -DUSE_DTOA=OFF'

Build:

- Make test output nicer in CMake based builds
- Simplify tests


2021-09-09	2.14

New Features:

- Add 'json_object_getn', 'json_object_setn', 'json_object_deln', and
  the corresponding 'nocheck' functions

Fixes:

- Handle 'sprintf' corner cases

Build:

- Symbol versioning for all exported symbols
- Fix compiler warnings

Documentation:

- Small fixes
- Sphinx 3 compatibility



More information about the Cygwin-announce mailing list