json v3.7.0 Release Notes

Release Date: 2019-07-28 // over 4 years ago
  • Full Changelog

    • How can I retrieve uknown strings from json file in my C++ program. #1684
    • contains() is sometimes causing stack-based buffer overrun exceptions #1683
    • How to deserialize arrays from json #1681
    • Compilation failed in VS2015 #1678
    • Why the compiled object file is so huge? #1677
    • From Version 2.1.1 to 3.6.1 serialize std::set #1676
    • ๐Ÿ—„ Qt deprecation model halting compiltion #1675
    • ๐Ÿ— Build For Raspberry pi , Rapbery with new Compiler C++17 #1671
    • ๐Ÿ— Build from Raspberry pi #1667
    • Can not translate map with integer key to dict string ? #1664
    • Double type converts to scientific notation #1661
    • Missing v3.6.1 tag on master branch #1657
    • ๐Ÿ‘Œ Support Fleese Binary Data Format #1654
    • Suggestion: replace alternative tokens for !, && and || with their symbols #1652
    • ๐Ÿ— Build failure test-allocator.vcxproj #1651
    • How to provide function json& to_json() which is similar as 'void to_json(json&j, const CObject& obj)' ? #1650
    • ๐Ÿ‘ป Can't throw exception when starting file is a number #1649
    • to_json / from_json with nested type #1648
    • How to create a json object from a std::string, created by j.dump? #1645
    • Problem getting vector (array) of strings #1644
    • json.hpp compilation issue with other typedefs with same name #1642
    • nlohmann::adl_serializer<T,void>::to_json no matching overloaded function found #1641
    • overwrite adl_serializer<bool, void> to change behaviour #1638
    • json.SelectToken("Manufacturers.Products.Price"); #1637
    • โž• Add json type as value #1636
    • โœ… Unit conversion test error: conversion from 'nlohmann::json' to non-scalar type 'std::string_view' requested #1634
    • nlohmann VS JsonCpp by C++17 #1633
    • To integrate an inline helper function that return type name as string #1632
    • Return JSON as reference #1631
    • โšก๏ธ Updating from an older version causes problems with assing a json object to a struct #1630
    • 0๏ธโƒฃ Can without default constructor function for user defined classes when only to_json is needed? #1629
    • Compilation fails with clang 6.x-8.x in C++14 mode #1628
    • Treating floating point as string #1627
    • ๐Ÿ“œ error parsing character รฅ #1626
    • ๐ŸŽ [Help] How to Improve Json Output Performance with Large Json Arrays #1624
    • Suggested link changes for reporting new issues [blob/develop/REAME.md and blob/develop/.github/CONTRIBUTING.md] #1623
    • Broken link to issue template in CONTRIBUTING.md #1622
    • Missing word in README.md file #1621
    • ๐Ÿ“ฆ Package manager instructions in README for brew is incorrect #1620
    • ๐Ÿ— Building with Visual Studio 2019 #1619
    • Precedence of to_json and builtin harmful #1617
    • ๐Ÿ“š The type json is missing from the html documentation #1616
    • ๐Ÿš€ variant is not support in Release 3.6.1? #1615
    • Replace assert with throw for const operator[] #1614
    • Memory Overhead is Too High (10x or more) #1613
    • program crash everytime, when other data type incomming in json stream as expected #1612
    • ๐Ÿ‘Œ Improved Enum Support #1611
    • is it possible convert json object back to stl container ? #1610
    • โž• Add C++17-like emplace.back() for arrays. #1609
    • is_nothrow_copy_constructible fails for json::const_iterator on MSVC2015 x86 Debug build #1608
    • Reading and writing array elements #1607
    • Converting json::value to int #1605
    • I have a vector of keys and and a string of value and i want to create nested json array #1604
    • In compatible JSON object from nlohmann::json to nohman::json - unexpected end of input; expected '[', '{', or a literal #1603
    • ๐Ÿ“œ json parser crash if having a large number integer in message #1602
    • ๐Ÿ‘ป Value method with undocumented throwing 302 exception #1601
    • Accessing value with json pointer adds key if not existing #1600
    • ๐Ÿ“š README.md broken link to project documentation #1597
    • Random Kudos: Thanks for your work on this! #1596
    • ๐Ÿ“œ json::parse return value and errors #1595
    • ๐ŸŽ‰ initializer list constructor makes curly brace initialization fragile #1594
    • ๐ŸŒฒ trying to log message for missing keyword, difference between ["foo"] and at("foo") #1593
    • std::string and std::wstring to\_json #1592
    • I have a C structure which I need to convert to a JSON. How do I do it? Haven't found proper examples so far. #1591
    • dump_escaped possible error ? #1589
    • ๐Ÿ“œ json::parse() into a vector<string> results in unhandled exception #1587
    • push_back()/emplace_back() on array invalidates pointers to existing array items #1586
    • ๐Ÿ“œ Getting nlohmann::detail::parse_error on JSON generated by nlohmann::json not sure why #1583
    • getting error terminate called after throwing an instance of 'std::domain_error' what(): cannot use at() with string #1582
    • how i create json file #1581
    • prevent rounding of double datatype values #1580
    • ๐Ÿ“š Documentation Container Overview Doesn't Reference Const Methods #1579
    • Writing an array into a nlohmann::json object #1578
    • compilation error when using with another library #1577
    • Homebrew on OSX doesn't install cmake config file #1576
    • unflatten vs objects with number-ish keys #1575
    • ๐Ÿ“œ JSON Parse Out of Range Error #1574
    • Integrating into existing CMake Project #1573
    • ๐Ÿš€ A "thinner" source code tar as part of release? #1572
    • conversion to std::string failed #1571
    • jPtr operation does not throw #1569
    • How to generate dll file for this project #1568
    • how to pass variable data to json in c #1567
    • โฌ†๏ธ I want to achieve an upgraded function. #1566
    • How to determine the type of elements read from a JSON array? #1564
    • try_get_to #1563
    • example code compile error #1562
    • How to iterate over nested json object #1561
    • ๐Ÿ— Build Option/Separate Function to Allow to Throw on Duplicate Keys #1560
    • Compiler Switches -Weffc++ & -Wshadow are throwing errors #1558
    • โš  warning: use of the 'nodiscard' attribute is a C++17 extension #1557
    • Import/Export compressed JSON files #1556
    • GDB renderers for json library #1554
    • Is it possible to construct a json string object from a binary buffer? #1553
    • json objects in list #1552
    • Matrix output #1550
    • ๐Ÿ”€ Using json merge_patch on ordered non-alphanumeric datasets #1549
    • ๐Ÿ“œ Invalid parsed value for big integer #1548
    • Integrating with android ndk issues. #1547
    • โž• add noexcept json::value("key", default) method variant? #1546
    • Thank you! ๐Ÿ™Œ #1545
    • Output and input matrix #1544
    • โž• Add regression tests for MSVC #1543
    • ๐Ÿ“„ [Help Needed!] Season of Docs #1542
    • program still abort() or exit() with try catch #1541
    • ๐Ÿ‘ป Have a json::type_error exception because of JSON object #1540
    • Using versioned namespaces #1539
    • Quoted numbers #1538
    • Reading a JSON file into an object #1537
    • ๐Ÿš€ Releases 3.6.0 and 3.6.1 don't build on conda / windows #1536
    • โš  [Clang] warning: use of the 'nodiscard' attribute is a C++17 extension [-Wc++17-extensions] #1535
    • wchar_t/std::wstring json can be created but not accessed #1533
    • json stringify #1532
    • How can I use std::string_view as the json_key to "operator []" ? #1529
    • How can I use it from gcc on RPI #1528
    • std::pair treated as an array instead of key-value in std::vector\<std::pair\<\>\> #1520
    • Excessive Memory Usage for Large Json File #1516
    • SAX dumper #1512
    • Conversion to user type containing a std::vector not working with documented approach #1511
    • ๐Ÿ“œ How to get position info or parser context with custom from_json() that may throw exceptions? #1508
    • Inconsistent use of type alias. #1507
    • Is there a current way to represent strings as json int? #1503
    • Intermittent issues with loadJSON #1484
    • ๐Ÿ‘‰ use json construct std::string #1462
    • JSON Creation #1461
    • ๐ŸŽ Substantial performance penalty caused by polymorphic input adapter #1457
    • Null bytes in files are treated like EOF #1095
    • ๐Ÿ”‹ Feature: to_string(const json& j); #916

    • ๐Ÿ‘‰ Use GNUInstallDirs instead of hard-coded path. #1673 (remyabel)

    • ๐Ÿ“ฆ Package Manager: MSYS2 (pacman) #1670 (podsvirov)

    • ๐Ÿ›  Fix json.hpp compilation issue with other typedefs with same name (Issue #1642) #1643 (kevinlul)

    • โž• Add explicit conversion from json to std::string_view in conversion unit test #1639 (taylorhoward92)

    • ๐Ÿ›  Minor fixes in docs #1625 (nickaein)

    • ๐Ÿ›  Fix broken links to documentation #1598 (nickaein)

    • โž• Added to_string and added basic tests #1585 (Macr0Nerd)

    • โœ… Regression tests for MSVC #1570 (nickaein)

    • ๐Ÿ›  Fix/1511 #1555 (theodelrieu)

    • โœ‚ Remove C++17 extension warning from clang; #1535 #1551 (heavywatal)

    • ๐Ÿšš moved from Catch to doctest for unit tests #1439 (onqtam)