json v3.7.1 Release Notes

Release Date: 2019-11-06 // 11 days ago
  • Full Changelog

    • std::is_constructible is always true with tuple #1825
    • Can't compile from_json(std::valarray<T>). #1824
    • json class should have a get_or member function #1823
    • NLOHMANN_JSON_SERIALIZE_ENUM macro capture's json objects by value #1822
    • 📜 Parse fails when number literals start with zero #1820
    • 📜 Parsing string into json doesn't preserve the order correctly. #1817
    • Weird behaviour of contains with json\_pointer #1815
    • strange behaviour with json_pointer and .contains() #1811
    • Can #1695 be re-opened? #1808
    • 🔀 Merge two json objects #1807
    • std::is_constructible<json, std::unordered_map<std::string, Data>> when to_json not defined #1805
    • 📜 Private data on parsing #1802
    • Capturing Line and Position when querying #1800
    • 📜 json error on parsing DBL_MAX from string #1796
    • De/Serialisation of vector of tupple object with nested obect need Help please #1794
    • Output json is corrupted #1793
    • variable name byte sometimes used as a #define #1792
    • Can't read json file #1791
    • Problems with special German letters #1789
    • 👌 Support for trailing commas #1787
    • json_pointer construction bug #1786
    • ⚠ Visual Studio 2017 warning #1784
    • ciso646 header become obsolete #1782
    • Migrate LGTM.com installation from OAuth to GitHub App #1781
    • JSON comparison, contains and operator& #1778
    • pass a json object to a class contructor adds an array around the object #1776
    • 'Float' number_float_function_t template parameter name conflicts with C '#define Float float' #1775
    • 🏗 A weird building problem :-( #1774
    • What is this json_ref? #1772
    • Interoperability with other languages #1770
    • Json dump #1768
    • json_pointer<>::back() should be const #1764
    • How to get value from array #1762
    • 🔀 Merge two jsons #1757
    • Unable to locate nlohmann_jsonConfig.cmake #1755
    • json.hpp won;t compile VS2019 CLR/CLI app but does in console app #1754
    • [Nested Json Objects] Segmentation fault #1753
    • ✂ remove/replace assert with exceptions #1752
    • ➕ Add array support for update() function #1751
    • Is there a reason the get\_to method is defined in include/nlohmann/json.hpp but not in single\_include/nlohmann/json.hpp? #1750
    • how to validate json object before calling dump() #1748
    • Unable to invoke accessors on json objects in lldb #1745
    • 📜 Escaping string before parsing #1743
    • Construction in a member initializer list using curly braces is set as 'array' #1742
    • Read a subkey from json object #1740
    • Serialize vector of glm:vec2 #1739
    • Support nlohmann::basic_json::value with JSON_NOEXCEPTION #1738
    • 📜 how to know the parse is error #1737
    • How to check if a given key exists in a JSON object #1736
    • 👍 Allow The Colon Key-Value Delimiter To Have A Space Before It [@ READ ONLY] #1735
    • 👍 Allow Tail { "Key": "Value" } Comma [@ READ ONLY] #1734
    • No-throw json::value() #1733
    • JsonObject.dump() #1732
    • 📜 basic_json has no member "parse" #1731
    • 👻 Exception "type must be string, but is array" #1730
    • json::contains usage to find a path #1727
    • How to create JSON Object from my Structures of Data and Json File from that Object #1726
    • please provide an API to read JSON from file directly. #1725
    • How to modify a value stored at a key? #1723
    • 🔧 CMake not correctly finding the configuration package for 3.7.0 #1721
    • 📦 name typo in the "spack package management" section of README.md #1720
    • How to add json to another json? #1718
    • How can I save json object in file in order? #1717
    • 📜 json::parse() ubsan regression with v3.7.0 #1716
    • What I am doing wrong?!? #1714
    • Potential memory leak detected by Valgrind #1713
    • 📜 json::parse is not thread safe? #1712
    • static analysis alarm by cppcheck #1711
    • The compilation time is slow #1710
    • not linking properly with cmake #1709
    • Error in dump() with int64_t minimum value #1708
    • Crash on trying to deserialize json string on 3ds homebrew #1707
    • Can't compile VS2019. 13 Errors #1706
    • find an object that matches the search criteria #1705
    • IntelliSense goes crazy on VS2019 #1704
    • Installing on Ubuntu 16.04 #1703
    • 📜 Where is json::parse now? #1702
    • Forward header should't be amalgamated #1700
    • 👍 Json support for Cmake version 2.8.12 #1699
    • Intruisive scientific notation when using .dump(); #1698
    • 👍 Is there support for automatic serialization/deserialization? #1696
    • on MSVC dump() will hard crash for larger json #1693
    • puzzled implicit conversions #1692
    • Information: My project uses this awesome library #1691
    • Consider listing files explicitly instead of using GLOB #1686
    • ✅ Failing tests on MSVC with VS2019 15.9.13 x64 #1685
    • Consider putting the user-defined literals in a namespace #1682
    • 🔄 Change from v2 to v3. Encoding with cp1252 #1680
    • How to add Fifo_map into json using Cmake #1679
    • 🏗 include.zip should contain meson.build #1672
    • 📜 [Question] How do I parse JSON into custom types? #1669
    • Binary (0x05) data type for BSON to JSON conversion #1668
    • Possible to call dump from lldb? #1666
    • Segmentation fault when linked with libunwind #1665
    • Should I include single-header after my to_json and from_json custom functions declaration? Why not? #1663
    • ⚠ Errors/Warnings in VS 2019 when Including Header File #1659
    • Return null object from object's const operator[] as well. #1658
    • Can't stream json object in to std::basic_stringstream<wchar_t> #1656
    • C2440 in vs2015 cannot convert from 'initializer-list' to nlohmann::basic_json #1655
    • Issues around get and pointers #1653
    • Non-member operator== breaks enum (de)serialization #1647
    • Valgrind: bytes in 1 blocks are definitely lost #1646
    • Convenient way to make 'basic_json' accept 'QString' as an key type as well? #1640
    • mongodb: nan, inf #1599
    • Error in adl_serializer #1590
    • Injecting class during serialization #1584
    • output_adapter not user extensible #1534
    • 🐧 Inclusion of nlohmann/json.hpp causes OS/ABI to change on Linux #1410
    • ➕ Add library versioning using inline namespaces #1394
    • 👍 CBOR byte string support #1129
    • How to deserialize array with derived objects #716

    • ➕ Add restriction for tuple specialization of to_json #1826 (cbegue)

    • 🛠 Fix for #1647 #1821 (AnthonyVH)

    • 🛠 Fix issue #1805 #1806 (cbegue)

    • 🛠 Fix some spelling errors - mostly in comments & documentation. #1803 (flopp)

    • ⚡️ Update Hedley to v11. #1799 (nemequ)

    • iteration_proxy: Fix integer truncation from std::size_t to int #1797 (t-b)

    • 👍 appveyor.yml: Add MSVC 16 2019 support #1780 (t-b)

    • ✅ test/CMakeLists.txt: Use an explicit list instead of GLOB #1779 (t-b)

    • 👉 Make json_pointer::back const (resolves #1764) #1769 (chris0x44)

    • did you mean 'serialization'? #1767 (0xflotus)

    • 👍 Allow items() to be used with custom string #1765 (crazyjul)

    • 🛠 Cppcheck fixes #1760 (Xav83)

    • 🛠 Fix and add test's for SFINAE problem #1741 (tete17)

    • 🛠 Fix clang sanitizer invocation #1728 (t-b)

    • ➕ Add gcc 9 and compile with experimental C++20 support #1724 (t-b)

    • 🛠 Fix int64 min issue #1722 (t-b)

    • 🚀 release: add singleinclude and meson.build to include.zip #1694 (eli-schwartz)