json v3.9.1 Release Notes

Release Date: 2020-08-06 // over 3 years ago
  • 🚀 Release date: 2020-08-06
    SHA-256: 7804b38146921d03374549c9e2a5e3acda097814c43caf2b96a0278e58df26e0 (json.hpp), 6bea5877b1541d353bd77bdfbdb2696333ae5ed8f9e8cc22df657192218cad91 (include.zip)

    Summary

    This release fixes two bugs in the features introduced in release 3.9.0. The lexer did not accept consecutive comments , and ordered_json lacked some functions from json. All changes are backward-compatible.

    👌 💰 Note you can support this project via GitHub sponsors or PayPal.

    🍱 🐛 Bug Fixes

    • The lexer did not accept input with two or more consecutive comments (e.g. /* one */ /* two */ []). #2330 #2332
    • The newly introduced ordered_json container did not implement the complete interface of basic_json which broke existing code when json was replaced by ordered_json, in particular when trying to call ordered_json::parse. #2315 #2319 #2331

    🍱 🔨 Further Changes

    • Install pkg-config file to CMAKE_CURRENT_BINARY_DIR instead of CMAKE_BINARY_DIR #2318
    • Make installation directory of pkg-config file depend on CMAKE_INSTALL_LIBDIR. #2314
    • 🛠 Fix -Wimplicit-fallthrough warning. #2333
    • 🛠 Fix name of Homebrew formula in documentation. #2326 #2327
    • 🛠 Fix typo in documentation. #2320

    🍱 🔥 Deprecated functions

    🚚 The following functions have been deprecated in earlier versions and will be removed in the next major version (i.e., 4.0.0):

    🗄 All deprecations are annotated with HEDLEY_DEPRECATED_FOR to report which function to use instead.