Skip to content

JSON for Modern C++ Version 2.0.9

Compare
Choose a tag to compare
@nlohmann nlohmann released this 16 Dec 20:36
· 3355 commits to develop since this release
  • Release date: 2016-12-16
  • SHA-256: fbf3396f13e187d6c214c297bddc742d918ea9b55e10bfb3d9f458b9bfdc22e5

Summary

This release implements with CBOR and MessagePack two binary serialization/deserialization formats. It further contains some small fixes and improvements. The fixes are backwards compatible.

cbor

Changes

  • ✨ The library can now read and write the binary formats CBOR (Concise Binary Object Representation) and MessagePack. Both formats are aimed to produce a very compact representation of JSON which can be parsed very efficiently. See the README file for more information and examples.
  • 🔥 simplified the iteration implementation allowing to remove dozens of lines of code
  • 🐛 fixed an integer overflow error detected by Google's OSS-Fuzz
  • 🐛 suppressed documentation warnings inside the library to facilitate compilation with -Wdocumentation
  • 🐛 fixed an overflow detection error in the number parser
  • 📝 updated contribution guidelines to a list of frequentely asked features that will most likely be never added to the library
  • 📝 added a table of contents to the README file to add some structure
  • 📝 mentioned the many examples and the documentation in the README file
  • 🔨 split unit tests into individual independent binaries to speed up compilation and testing
  • ✅ the test suite now contains 11201886 tests