RapidJSON is a C++ JSON parser and serialization library. This
module wraps it into a Python 3 extension, exposing its
serialization/deserialization (to/from either bytes, str or file-like
instances) and JSON Schema validation capabilities.
Provides
Requires
License
MIT
Changelog
* Fri Apr 03 2026 Dirk Müller <dmueller@suse.com>
- update to 1.23:
* Fix serialization bug when using MM_COERCE_KEYS_TO_STRINGS
together with sort_keys=True (issue #229)
* Tue Nov 18 2025 Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.22:
* Rectify type hints of loads() and Decoder.__call__()
* Ensure Validator receives valid UTF-8 bytes/bytearray arguments
* Recompute comparison table with latest versions of other libraries, using
Python 3.13
* Typing stubs: specify default value for stream argument of
Encoder.__call__()
- Refreshed rapidjson-system.patch
* Thu Jun 20 2024 Dirk Müller <dmueller@suse.com>
- update to 1.17:
* Use current master version of rapidjson
* Sat Mar 16 2024 Dirk Müller <dmueller@suse.com>
- update to 1.16 (bsc#1220489, CVE-2024-27454):
* Produce Python 3.8 wheels again, I deactivated it too
eagerly, it's in security fixes only mode, not yet reached
its end-of-life state
* Honor the recursion limit also at parse time, to avoid
attacks as described by CVE-2024-27454
* Mon Mar 04 2024 Steve Kowalik <steven.kowalik@suse.com>
- Switch to autosetup and pyproject macros.
* Fri Jan 05 2024 Dirk Müller <dmueller@suse.com>
- update to 1.14:
* Produce binary wheels for macOS/arm64
* Thu Nov 23 2023 ecsos <ecsos@opensuse.org>
- Update to 1.13
* Fix handling of write_mode in dump functions (problem emerged discussing issue #191)
- Update to 1.12
* Generate wheels on PyPI using final Python 3.12 release, thanks to cibuildwheel 2.16.2
- Update to 1.11
* Use current master version of rapidjson
* Use cibuildwheel 2.15.0
- Update to 1.10
* Use current master version of rapidjson
* Produce ppc64le wheels, thanks to mgiessing (PR #170)
* Use cibuildwheel 2.12.1
- Add %{?sle15_python_module_pythons}
* Fri Oct 28 2022 Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 1.9
* Produce Python 3.11 wheels, thanks to cibuildwheel 2.11.1.
* Thu Oct 06 2022 Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 1.8 (2022-07-07)
Fix problem on macOS explicitly requiring C++11, thanks to agate-pris (issue #166)
- Update to version 1.7 (2022-07-06)
Use current master version of rapidjson
Update the test suite to work on Pyston, thanks to Kevin Modzelewski (PR #161)
- Update to version 1.6 (2022-02-19)
Fix memory leak when using end_array (issue #160)
* Thu Jan 13 2022 Ben Greiner <code@bnavigator.de>
- Update to v1.5
* Fix serialization bug when using DM_UNIX_TIME in a non-C locale
context
- Release 1.1 - 1.4
* wheel related
- Release 1.1
* Reduce decoder memory consumption by uniquifiying keys in the
loaded dictionaries
* Implement an alternative way of transmogrify JSON objects,
similar to json's object_pairs_hook load option (issue #154)
- Release 1.0
* Require Python 3.6 or greater
* New serialization options, iterable_mode and mapping_mode, to
give some control on how generic iterables and mappings get
encoded (fix issue #149 and issue #150)
* Internal refactorings, folding "skipkeys" and "sort_keys"
arguments into the mapping_mode options, respectively as
MM_SKIP_NON_STRING_KEYS and MM_SORT_KEYS: "old" arguments kept
for backward compatibility
* Bump major version to 1, tag as "production/stable" and switch
to a simpler X.Y versioning schema
- Release