json v3.10.5 Release Notes

Release Date: 2022-01-02 // 6 months ago
  • Full Changelog

    • #include <filesystem> doesn't work with gcc-7 when -std=c++17 is specified. #3203
    • Not able to use nlohmann json with c++ code built using emscripten to wasm #3200
    • โš  Warning for shadowed variables #3188
    • Accessing missing keys on const json object leads to assert #3183
    • Data member is available, but null is reported, and program throws error #3173
    • serialization problem, from_json need construct new object #3169
    • ๐Ÿš€ std::filesystem unavailable on macOS lower deployment targets #3156
    • ๐Ÿ‘ป [json.exception.type_error.305] cannot use operator[] with a string argument with string #3151
    • json::dump() is not compatible with C++ standards #3147
    • ๐Ÿ“œ Issue with json::parse decoding codepoints #3142
    • ๐Ÿ“œ Simple parse of json object thinks it should be an array #3136
    • How to properly read a Json string that may be null in some cases? #3135
    • ๐Ÿ Deadlock on create json - windows only #3129
    • ๐Ÿ“œ Wrong parsing of int64 values nearest of limit #3126
    • ๐Ÿ‘ ordered_json doesn't support range based erase #3108
    • ๐Ÿ— Apple build failed with json/single_include/nlohmann/json.hpp:4384:57: 'path' is unavailable #3097
    • GCC 7.5.0 with --std=c++17: filesystem: No such file or directory #3090
    • โฌ‡๏ธ Drop Travis CI #3087
    • ordered_json::reset() compile error with nvcc #3013
    • Support for unordered_map as object_t #2932
    • โš  Compiler warning with Intel compiler, same as #755 #2712
    • โš  Compiler warnings with NVCC 11.2 #2676
    • โš  some static analysis warning at line 11317 #1390
    • Compiling with icpc #755

    • ๐Ÿ›  Fix compilation error with NVCC #3234 (nlohmann)

    • โœ‚ Remove Travis CI #3233 (nlohmann)

    • โž• Add build step for NVCC and fix a warning #3227 (nlohmann)

    • โšก๏ธ Update cpplint #3225 (nlohmann)

    • ๐Ÿ›  Fix: Warning for shadowed variables (#3188) #3193 (kernie)

    • ๐Ÿ›  Fix FAQ hyperlink typo in readme #3148 (Prince-Mendiratta)

    • Docs: Update skip_comments to ignore_comments #3145 (daniel-kun)

    • ๐Ÿ›  fix typos in documentation #3140 (striezel)

    • ๐Ÿ›  Fix spelling #3125 (axic)

    • Extend std specializations #3121 (nlohmann)

    • โž• Add missing erase(first, last) function to ordered_map #3109 (nlohmann)

    • ๐Ÿ›  Fix typos in operator[] documentation #3102 (axnsan12)

    • โž• Add C++17 copies of the test binaries #3101 (nlohmann)

    • โž• Add examples for parsing from iterator pair #3100 (nlohmann)

    • โšก๏ธ Update CI #3088 (nlohmann)

    • โช Revert invalid fix #3082 (nlohmann)

    • ๐Ÿ‘ Allow to use get with explicit constructor #3079 (nlohmann)

    • ๐Ÿ›  fix std::filesystem::path regression #3073 (theodelrieu)

    • ๐Ÿ“š Consolidate documentation #3071 (nlohmann)

    • โž• Add recursive update function #3069 (nlohmann)

    • ๐Ÿ›  Fix Clang version #3040 (nlohmann)

    • ๐Ÿ›  Fix assertion failure for JSON_DIAGNOSTICS #3037 (carlsmedstad)

    • meta: fix is_compatible/constructible traits #3020 (theodelrieu)

    • โšก๏ธ Set parent pointers for values inserted via update() (fixes #3007). #3008 (AnthonyVH)

    • Allow allocators for output_vector_adapter #2989 (nlohmann)

    • Re-add Clang 12 #2986 (nlohmann)

    • ๐Ÿณ Use new Docker image #2981 (nlohmann)

    • ๐Ÿ›  Fix -Wunused warnings on JSON_DIAGNOSTICS #2976 (gcerretani)

    • โšก๏ธ Update docset generation script #2967 (nlohmann)


Previous changes from v3.10.4

  • Full Changelog

    • Compiler error in output serializer due to 'incompatible initializer' #3081
    • Strange behaviour when using std::sort on std::vector<json> #3080
    • ๐Ÿ“œ Unhandled exception: nlohmann::detail::parse_error #3078
    • 0๏ธโƒฃ explicit constructor with default does not compile #3077
    • ๐Ÿ“œ Parse an object but get an array using GCC #3076
    • ๐Ÿ”– Version 3.10.3 breaks backward-compatibility with 3.10.2 #3070
    • Feature request, Add to_json/from_json to align with other to/from binary api. #3067
    • vcpkg is out of date #3066

    • โช Revert invalid fix #3082 (nlohmann)

    • ๐Ÿ‘ Allow to use get with explicit constructor #3079 (nlohmann)

    • ๐Ÿ›  fix std::filesystem::path regression #3073 (theodelrieu)

    • ๐Ÿ›  Fix Clang version #3040 (nlohmann)

    • ๐Ÿ›  Fix assertion failure for JSON_DIAGNOSTICS #3037 (carlsmedstad)

    • meta: fix is_compatible/constructible traits #3020 (theodelrieu)

    • โšก๏ธ Set parent pointers for values inserted via update() (fixes #3007). #3008 (AnthonyVH)

    • Allow allocators for output_vector_adapter #2989 (nlohmann)

    • Re-add Clang 12 #2986 (nlohmann)

    • ๐Ÿณ Use new Docker image #2981 (nlohmann)

    • ๐Ÿ›  Fix -Wunused warnings on JSON_DIAGNOSTICS #2976 (gcerretani)

    • โšก๏ธ Update docset generation script #2967 (nlohmann)