JSON for Modern C++, a C++11 header-only JSON class
JSON for Modern C++, a C++11 header-only JSON class.
- Links to devel:libraries:c_c++ / nlohmann_json
- Has a link diff
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:sagiben/nlohmann_json && cd $_
- Create Badge
Refresh
Refresh
Source Files (show unmerged sources)
Filename | Size | Changed |
---|---|---|
_constraints | 0000000166 166 Bytes | |
json-3.11.3.tar.xz | 0000110988 108 KB | |
json-3.11.3.tar.xz.asc | 0000000833 833 Bytes | |
nlohmann_json.changes | 0000024096 23.5 KB | |
nlohmann_json.keyring | 0000003128 3.05 KB | |
nlohmann_json.spec | 0000002265 2.21 KB |
Latest Revision
Sagi Ben Akiva (sagiben)
committed
(revision 5)
This release introduces the support for structured bindings and reading from FILE*. Besides, a few bugs have been fixed. All changes are backward-compatible. This release introduces three new features: * BSON (Binary JSON) is next to CBOR, MessagePack, and UBJSON the fourth binary (de)serialization format supported by the library. * Adjustable error handlers for invalid Unicode allows to specify the behavior when invalid byte sequences are serialized. * Simplified enum/JSON mapping with a macro in case the default mapping to integers is not desired. Furthermore, some effort has been invested in improving the parse error messages. Besides, a few bugs have been fixed. All changes are backward-compatible. This release adds support for GCC 4.8. Furthermore, it adds a function get_to to write a JSON value to a passed reference. Another topic of this release was the CMake support which has been overworked and documented. Besides, a lot of bugs have been fixed and slight improvements have been made. All changes are backward-compatible. - Update to version 3.2.0 This release introduces a SAX interface to the library. While this may be a very special feature used by only few people, it allowed to unify all functions that consumed input and created some kind of JSON value. Internally, now all existing functions like parse, accept, from_cbor, from_msgpack, and from_ubjson use the SAX interface with different event processors. This allowed to separate the input processing from the value generation. Furthermore, throwing an exception in case of a parse error is now optional and up to the event processor. Finally, the JSON parser is now non-recursive (meaning it does not use the call
Comments 0