1
0
mirror of https://github.com/nlohmann/json synced 2024-11-23 12:30:06 +00:00
nlohmannjson/ChangeLog.md
2019-07-28 20:20:41 +02:00

165 KiB
Raw Blame History

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

v3.7.0 (2019-07-28)

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

  • 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
  • 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!
  • 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
  • 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)

v3.6.1 (2019-03-20)

Full Changelog

  • Failed to build with <Windows.h> #1531
  • Compiling 3.6.0 with GCC > 7, array vs std::array #590 is back #1530
  • 3.6.0: warning: missing initializer for member 'std::array<char, 9ul>::_M_elems' [-Wmissing-field-initializers] #1527
  • unable to parse json #1525

v3.6.0 (2019-03-19)

Full Changelog

  • How can I turn a string of a json array into a json array? #1526

  • Minor: missing a std:: namespace tag #1521

  • how to precision to four decimal for double when use to_json #1519

  • error parse #1518

  • Compile error: template argument deduction/substitution failed #1515

  • Support for Comments #1513

  • std::complex type #1510

  • CBOR byte string support #1509

  • Compilation error getting a std::pair<> on latest VS 2017 compiler #1506

  • "Integration" section of documentation needs update? #1505

  • Json object from string from a TCP socket #1504

  • MSVC warning C4946 "reinterpret\_cast used between related classes" compiling json.hpp #1502

  • How to programmatically fill an n-th dimensional JSON object? #1501

  • Error compiling with clang and JSON\_NOEXCEPTION: need to include cstdlib #1500

  • The code compiles unsuccessfully with android-ndk-r10e #1499

  • Cmake 3.1 in develop, when is it likely to make it into a stable release? #1498

  • Repository is almost 450MB #1497

  • Some Help please object inside array #1494

  • How to get data into vector of user-defined type from a Json object #1493

  • how to find subelement without loop #1490

  • json to std::map #1487

  • Type in README.md #1486

  • Error in parsing and reading msgpack-lite #1485

  • Compiling issues with libc 2.12 #1483

  • How do I use reference or pointer binding values? #1482

  • Compilation fails in MSVC with the Microsoft Language Extensions disabled #1481

  • Functional visit #1480

  • Question
  • Some Help please #1478

  • Global variables are stored within the JSON file, how do I declare them as global variables when I read them out in my C++ program? #1476

  • Unable to modify one of the values within the JSON file, and save it #1475

  • Documentation of parse function has two identical @pre causes #1473

  • GCC 9.0 build failure #1472

  • Can we have an exists\(\) method? #1471

  • How to parse multi object json from file? #1470

  • How to returns the name of the upper object? #1467

  • Error: "tuple_size" has already been declared in the current scope #1466

  • Checking keys of two jsons against eachother #1465

  • Disable installation when used as meson subproject #1463

  • Unpack list of integers to a std::vector<int> #1460

  • Implement DRY definition of JSON representation of a c++ class #1459

  • json.exception.type_error.305 with GCC 4.9 when using C++ {} initializer #1458

  • API to convert an "uninitialized" json into an empty object or empty array #1456

  • How to parse a vector of objects with const attributes #1453

  • NLOHMANN_JSON_SERIALIZE_ENUM potentially requires duplicate definitions #1450

  • Question about making json object from file directory #1449

  • .get() throws error if used with userdefined structs in unordered_map #1448

  • Integer Overflow OSS-Fuzz 12506 #1447

  • If a string has too many invalid UTF-8 characters, json::dump attempts to index an array out of bounds. #1445

  • Setting values of .JSON file #1444

  • alias object_t::key_type in basic_json #1442

  • Latest Ubuntu package is 2.1.1 #1438

  • lexer.hpp(1363) '_snprintf': is not a member | Visualstudio 2017 #1437

  • Static method invites inadvertent logic error. #1433

  • EOS compilation produces "fatal error: 'nlohmann/json.hpp' file not found" #1432

  • Support for bad commas #1429

  • Please have one base exception class for all json exceptions #1427

  • Compilation warning: 'tuple_size' defined as a class template here but previously declared as a struct template #1426

  • Which version can be used with GCC 4.8.2 ? #1424

  • Ignore nullptr values on constructing json object from a container #1422

  • Support for custom float precision via unquoted strings #1421

  • Segmentation fault stack overflow due to unbounded recursion #1419

  • It is possible to call json::find with a json_pointer as argument. This causes runtime UB/crash. #1418

  • Dump throwing exception #1416

  • Build error #1415

  • Append version to include.zip #1412

  • error C2039: '_snprintf': is not a member of 'std' - Windows #1408

  • Deserializing to vector #1407

  • Efficient way to set a json object as value into another json key #1406

  • Document return value of parse() when allow_exceptions == false and parsing fails #1405

  • Unexpected behaviour with structured binding #1404

  • Which native types does get<type> allow? #1403

  • Add something like Json::StaticString #1402

  • -Wmismatched-tags in 3.5.0? #1401

  • Coverity Scan reports an UNCAUGHT_EXCEPT issue #1400

  • fff #1399

  • sorry this is not an issue, just a Question, How to change a key value in a file and save it ? #1398

  • Add library versioning using inline namespaces #1394

  • appveyor x64 builds appear to be using Win32 toolset #1374

  • Serializing/Deserializing a Class containing a vector of itself #1373

  • Retrieving array elements. #1369

  • Deserialize #1366

  • call of overloaded for push_back and operator+= is ambiguous #1352

  • got an error and cann't figure it out #1351

  • Improve number-to-string conversion #1334

  • Implicit type conversion error on MSVC #1333

  • NuGet Package #1132

  • Change macros to numeric_limits #1514 (naszta)

  • fix GCC 7.1.1 - 7.2.1 on CentOS #1496 (lieff)

  • Update Buckaroo instructions in README.md #1495 (njlr)

  • Fix gcc9 build error test/src/unit-allocator.cpp Issue \#1472 #1492 (stac47)

  • Fix typo in README.md #1491 (nickaein)

  • Do proper endian conversions #1489 (andreas-schwab)

  • Fix documentation #1477 (nickaein)

  • Implement contains() member function #1474 (nickaein)

  • Add operator/= and operator/ to construct a JSON pointer by appending two JSON pointers #1469 (garethsb-sony)

  • Disable Clang -Wmismatched-tags warning on tuple_size / tuple_element #1468 (past-due)

  • Disable installation when used as meson subproject. #1463 #1464 (elvisoric)

  • docs: README typo #1455 (wythe)

  • remove extra semicolon from readme #1451 (Afforix)

  • attempt to fix #1445, flush buffer in serializer::dump_escaped in UTF8_REJECT case. #1446 (scinart)

  • Use C++11 features supported by CMake 3.1. #1441 (iwanders)

  • 🚨 fixed unused variable warning #1435 (pboettch)

  • allow push_back() and pop_back() calls on json_pointer #1434 (pboettch)

  • Add instructions about using nlohmann/json with the conda package manager #1430 (nicoddemus)

  • Updated year in README.md #1425 (hijxf)

  • Fixed broken links in the README file #1423 (skypjack)

  • Fixed broken links in the README file #1420 (skypjack)

  • docs: typo in README #1417 (wythe)

  • Fix x64 target platform for appveyor #1414 (nickaein)

  • Improve dump_integer performance #1411 (nickaein)

  • buildsystem: relax requirement on cmake version #1409 (yann-morin-1998)

  • CMake: Optional Install if Embedded #1330 (ax3l)

v3.5.0 (2018-12-21)

Full Changelog

  • Copyconstructor inserts original into array with single element #1397

  • Get value without explicit typecasting #1395

  • Big file parsing #1393

  • some static analysis warning at line 11317 #1390

  • Adding Structured Binding Support #1388

  • map<json::value_t, string> exhibits unexpected behavior #1387

  • Error Code Return #1386

  • using unordered_map as object type #1385

  • float precision #1384

  • json.exception.type\_error.316
  • Inconsistent Constructor GCC vs. Clang #1381

  • #define or || #1379

  • How to iterate inside the values ? #1377

  • items() unable to get the elements #1375

  • conversion json to std::map doesn't work for types <int, double> #1372

  • A minor issue in the build instructions #1371

  • Using this library without stream ? #1370

  • Writing and reading BSON data #1368

  • Retrieving array elements from object type iterator. #1367

  • json::dump() silently crashes if items contain accented letters #1365

  • warnings in MSVC 2015 in 3.4.0 related to bool... #1364

  • Cant compile with -C++17 and beyond compiler options #1362

  • json to concrete type conversion through reference or pointer fails #1361

  • the first attributes of JSON string is misplaced #1360

  • Copy-construct using initializer-list converts objects to arrays #1359

  • About value(key, default_value) and operator[]key #1358

  • Problem with printing json response object #1356

  • Serializing pointer segfaults #1355

  • Read long long int data as a number. #1354

  • eclipse oxygen in ubuntu get<size_t> is ambiguous #1353

  • Can't build on Visual Studio 2017 v15.8.9 #1350

  • cannot parse from string? #1349

  • Error: out_of_range #1348

  • expansion pattern 'CompatibleObjectType' contains no argument packs, with CUDA 10 #1347

  • Unable to update a value for a nested(multi-level) json file #1344

  • Fails to compile when std::iterator_traits is not SFINAE friendly. #1341

  • EOF flag not set on exhausted input streams. #1340

  • Shadowed Member in merge_patch #1339

  • Periods/literal dots in keys? #1338

  • Protect macro expansion of commonly defined macros #1337

  • How to validate an input before parsing? #1336

  • Non-verifying dump() alternative for debugging/logging needed #1335

  • Json Libarary is not responding for me in c++ #1332

  • Question - how to find an object in an array #1331

  • Nesting additional data in json object #1328

  • can to_json() be defined inside a class? #1324

  • CodeBlocks IDE can't find json.hpp header #1318

  • Change json_pointer to provide an iterator begin/end/etc, don't use vectors, and also enable string_view #1312

  • Xcode - adding it to library #1300

  • unicode: accept char16_t, char32_t sequences #1298

  • unicode: char16_t* is compiler error, but char16_t[] is accepted #1297

  • Dockerfile Project Help Needed #1296

  • Comparisons between large unsigned and negative signed integers #1295

  • CMake alias to nlohmann::json #1291

  • Release zips without tests #1285

  • Suggestion to improve value() accessors with respect to move semantics #1275

  • separate object_t::key_type from basic_json::key_type, and use an allocator which returns object_t::key_type #1274

  • Is there a nice way to associate external values with json elements? #1256

  • Delete by json_pointer #1248

  • Expose lexer, as a StAX parser #1219

  • Subclassing json() & error on recursive load #1201

  • Check value for existence by json_pointer #1194

  • Feature/add file input adapter #1392 (dumarjo)

  • Added Support for Structured Bindings #1391 (pratikpc)

  • Link to issue #958 broken #1382 (kjpus)

  • readme: fix typo #1380 (manu-chroma)

  • recommend using explicit from JSON conversions #1363 (theodelrieu)

  • Fix merge_patch shadow warning #1346 (ax3l)

  • Allow installation via Meson #1345 (mpoquet)

  • Set eofbit on exhausted input stream. #1343 (mefyl)

  • Add a SFINAE friendly iterator_traits and use that instead. #1342 (dgavedissian)

  • Fix EOL Whitespaces & CMake Spelling #1329 (ax3l)

v3.4.0 (2018-10-30)

Full Changelog

  • Big uint64_t values are serialized wrong #1327

  • Question
  • Can't use ifstream and .clear() #1321

  • Warning
  • Compilation error using at and find with enum struct #1316

  • Parsing JSON from a web address #1311

  • How to convert JSON to Struct with embeded subject #1310

  • Null safety/coalescing function? #1309

  • Building fails using single include file: json.hpp #1308

  • json::parse(std::string) Exception inside packaged Lib #1306

  • Problem in Dockerfile with installation of library #1304

  • compile error in from_json converting to container with std::pair #1299

  • Json that I am trying to parse, and I am lost Structure Array below top level #1293

  • Serializing std::variant causes stack overflow #1292

  • How do I go about customising from_json to support __int128_t/__uint128_t? #1290

  • merge_patch: inconsistent behaviour merging empty sub-object #1289

  • Buffer over/underrun using UBJson? #1288

  • Enable the latest C++ standard with Visual Studio #1287

  • truncation of constant value in to_cbor() #1286

  • eosio.wasmsdk error #1284

  • use the same interface for writing arrays and non-arrays #1283

  • How to read json file with optional entries and entries with different types #1281

  • merge result not as espected #1279

  • how to get only "name" from below json #1278

  • syntax error on right json string #1276

  • Parsing JSON Array where members have no key, using custom types #1267

  • I get a json exception periodically from json::parse for the same json #1263

  • serialize std::variant<...> #1261

  • GCC 8.2.1. Compilation error: invalid conversion from... #1246

  • BSON support #1244

  • enum to json mapping #1208

  • Soften the landing when dumping non-UTF8 strings type\_error.316 exception #1198

  • CMakeLists.txt in release zips? #1184

  • Add macro to define enum/JSON mapping #1323 (nlohmann)

  • Add BSON support #1320 (nlohmann)

  • Properly convert constants to CharType #1315 (nlohmann)

  • Allow to set error handler for decoding errors #1314 (nlohmann)

  • Add Meson related info to README #1305 (koponomarenko)

  • Improve diagnostic messages for binary formats #1303 (nlohmann)

  • add new is_constructible_* traits used in from_json #1301 (theodelrieu)

  • add constraints for variadic json_ref constructors #1294 (theodelrieu)

  • Improve diagnostic messages #1282 (nlohmann)

  • Removed linter warnings #1280 (nlohmann)

  • Thirdparty benchmark: Fix Clang detection. #1277 (Lord-Kamina)

v3.3.0 (2018-10-05)

Full Changelog

  • When key is not found print the key name into error too #1273

  • Visual Studio 2017 15.8.5 "conditional expression is constant" warning on Line 1851 in json.hpp #1268

  • how can we get this working on WSL? #1264

  • Help needed #1259

  • A way to get to a JSON values "key" #1258

  • While compiling got 76 errors #1255

  • Two blackslashes on json output file #1253

  • Including nlohmann the badwrong way. #1250

  • how to build with clang? #1247

  • Cmake target_link_libraries unable to find nlohmann_json since version 3.2.0 #1243

  • Question
  • Parsing different json format #1241

  • Parsing Multiple JSON Files #1240

  • Doesn't compile under C++17 #1239

  • Conversion operator for nlohmann::json is not SFINAE friendly #1237

  • Custom deserialization of number_float_t #1236

  • Move tests to a separate repo #1235

  • deprecated-declarations warnings when compiling tests with GCC 8.2.1. #1233

  • Incomplete type with json_fwd.hpp #1232

  • Parse Error #1229

  • json::get function with argument #1227

  • questions regarding from_json #1226

  • Lambda in unevaluated context #1225

  • NLohmann doesn't compile when enabling strict warning policies #1224

  • Creating array of objects #1223

  • Somewhat unhelpful error message "cannot use operator[] with object" #1220

  • single_include json.hpp #1218

  • Maps with enum class keys which are convertible to JSON strings should be converted to JSON dictionaries #1217

  • Adding JSON Array to the Array #1216

  • Best way to output a vector of a given type to json #1215

  • compiler warning: double definition of macro JSON_INTERNAL_CATCH #1213

  • Compilation error when using MOCK_METHOD1 from GMock and nlohmann::json #1212

  • Issues parsing a previously encoded binary non-UTF8 string. #1211

  • Yet another ordering question: char * and parse() #1209

  • Error using gcc 8.1.0 on Ubuntu 14.04 #1207

  • "type must be string, but is " std::string(j.type_name() #1206

  • Returning empty json object from a function of type const json& ? #1205

  • VS2017 compiler suggests using constexpr if #1204

  • Template instatiation error on compiling #1203

  • BUG - json dump field with unicode -> array of ints instead of string #1197

  • Compile error using Code::Blocks // mingw-w64 GCC 8.1.0 - "Incomplete Type" #1193

  • SEGFAULT on arm target #1190

  • Compiler crash with old Clang #1179

  • Custom Precision on floating point numbers #1170

  • Can we have a json_view class like std::string_view? #1158

  • improve error handling #1152

  • We should remove static_asserts #960

  • Fix warning C4127: conditional expression is constant #1272 (antonioborondo)

  • Turn off additional deprecation warnings for GCC. #1271 (chuckatkins)

  • docs: Add additional CMake documentation #1270 (chuckatkins)

  • unit-testsuites.cpp: fix hangup if file not found #1262 (knilch0r)

  • Fix broken cmake imported target alias #1260 (chuckatkins)

  • GCC 48 #1257 (henryiii)

  • Add version and license to meson.build #1252 (koponomarenko)

  • #1179 Reordered the code. It seems to stop clang 3.4.2 in RHEL 7 from crash… #1249 (LEgregius)

  • Use a version check to provide backwards comatible CMake imported target names #1245 (chuckatkins)

  • Fix issue #1237 #1238 (theodelrieu)

  • Add a get overload taking a parameter. #1231 (theodelrieu)

  • Move lambda out of unevaluated context #1230 (mandreyel)

  • Remove static asserts #1228 (theodelrieu)

  • Better error 305 #1221 (rivertam)

  • Fix #1213 #1214 (simnalamburt)

  • Export package to allow builds without installing #1202 (dennisfischer)

v3.2.0 (2018-08-20)

Full Changelog

  • Am I doing this wrong? Getting an empty string #1199

  • Incompatible Pointer Type #1196

  • json.exception.type_error.316 #1195

  • Strange warnings in Code::Blocks 17.12, GNU GCC #1192

  • Question
  • Add key name when throwing type error #1189

  • Not able to include in visual studio code? #1188

  • Get an Index or row number of an element #1186

  • reduce repos size #1185

  • Difference between merge\_patch and update #1183

  • Is there a way to get an element from a JSON without throwing an exception on failure? #1182

  • to_string? #1181

  • How to cache a json object's pointer into a map? #1180

  • Can this library work within a Qt project for Android using Qt Creator? #1178

  • How to get all keys of one object? #1177

  • How can I only parse the first level and get the value as string? #1175

  • I have a query regarding nlohmann::basic_json::basic_json #1174

  • unordered_map with vectors won't convert to json? #1173

  • return json objects from functions #1172

  • Problem when exporting to CBOR #1171

  • Roundtripping null to nullptr does not work #1169

  • MSVC fails to compile std::swap specialization for nlohmann::json #1168

  • Unexpected behaviour of is_null - Part II #1167

  • Floating point imprecision #1166

  • Combine json objects into one? #1165

  • Is there any way to know if the object has changed? #1164

  • Value throws on null string #1163

  • Weird template issue in large project #1162

  • _json returns a different result vs ::parse #1161

  • Showing difference between two json objects #1160

  • no instance of overloaded function "std::swap" matches the specified type #1159

  • resize(...)? #1157

  • Issue with struct nested in class' to_json #1155

  • Deserialize std::map with std::nan #1154

  • Parse throwing errors #1149

  • cocoapod integration #1148

  • wstring parsing #1147

  • Is it possible to dump a two-dimensional array to "null],[1,2,3"? #1146

  • Want to write a class member variable and a struct variable this structure is inside the class to the json file #1145

  • Does json support converting an instance of a struct into json string? #1143

  • #Most efficient way to search for child parameters recursive find? #1141

  • could not find to_json() method in T's namespace #1140

  • chars get treated as JSON numbers not JSON strings #1139

  • How do I count number of objects in array? #1137

  • Serializing a vector of classes? #1136

  • Compile error. Unable convert form nullptr to nullptr&& #1135

  • std::unordered_map in struct, serialization #1133

  • dump() can't handle umlauts #1131

  • Add a way to get a key reference from the iterator #1127

  • can't not parse "\“ string #1123

  • if json file contain Internationalization chars , get exception #1122

  • How to use a json::iterator dereferenced value in code? #1120

  • clang compiler: error : unknown type name 'not' #1119

  • Disable implicit conversions from json to std::initializer_list<T> for any T #1118

  • Implicit conversions to complex types can lead to surprising and confusing errors #1116

  • How can I write from_json for a complex datatype that is not default constructible? #1115

  • Compile error in VS2015 when compiling unit-conversions.cpp #1114

  • ADL Serializer for std::any / boost::any #1113

  • Unexpected behaviour of is_null #1112

  • How to resolve " undefined reference to `std::__throw_bad_cast()'" #1111

  • cannot compile on ubuntu 18.04 and 16.04 #1110

  • JSON representation for floating point values has too many digits #1109

  • Not working for classes containing "_declspec(dllimport)" in their declaration #1108

  • Get keys from json object #1107

  • dump() without alphabetical order #1106

  • Cannot deserialize types using std::ratio #1105

  • i want to learn json #1104

  • Type checking during compile #1103

  • Iterate through sub items #1102

  • cppcheck failing for version 3.1.2 #1101

  • Deserializing std::map #1100

  • accessing key by reference #1098

  • clang 3.8.0 croaks while trying to compile with debug symbols #1097

  • Serialize a list of class objects with json #1096

  • Small question #1094

  • Upgrading to 3.x: to_/from_json with enum class #1093

  • Q: few questions about json construction #1092

  • general crayCC compilation failure #1091

  • Merge Patch clears original data #1090

  • Question
  • C++17 decomposition declaration support #1087

  • Question
  • Serializing vector #1085

  • update nested value in multi hierarchy json object #1084

  • Overriding default values? #1083

  • detail namespace collision with Cereal? #1082

  • Error using json.dump(); #1081

  • Consuming TCP Stream #1080

  • Compilation error with strong typed enums in map in combination with namespaces #1079

  • cassert error #1076

  • Valid json data not being parsed #1075

  • Feature request :: Better testing for key existance without try/catch #1074

  • Hi, I have input like a.b.c and want to convert it to "a"{"b": "c"} form. Any suggestions how do I do this? Thanks. #1073

  • ADL deserializer not picked up for non default-constructible type #1072

  • Deserializing std::array doesn't compiler (no insert()) #1071

  • Serializing OpenCV Mat problem #1070

  • Compilation error with ICPC compiler #1068

  • Minimal branch? #1066

  • Not existing value, crash #1065

  • cyryllic symbols #1064

  • newbie usage question #1063

  • Trying j["strTest"] = "%A" produces "strTest": "-0X1.CCCCCCCCCCCCCP+205" #1062

  • convert json value to std::string??? #1061

  • Commented out test cases, should they be removed? #1060

  • different behaviour between clang and gcc with braced initialization #1059

  • json array: initialize with prescribed size and resize method. #1057

  • Is it possible to use exceptions istead of assertions? #1056

  • when using assign operator in with json object a static assertion fails.. #1055

  • Iterate over leafs of a JSON data structure: enrich the JSON pointer API #1054

  • Feature request
  • document that implicit js -> primitive conversion does not work for std::string::value_type and why #1052

  • error: BasicJsonType in namespace :: does not name a type #1051

  • Destructor is called when filling object through assignement #1050

  • Is this thing thread safe for reads? #1049

  • clang-tidy: Call to virtual function during construction #1046

  • Using STL algorithms with JSON containers with expected results? #1045

  • Usage with gtest/gmock not working as expected #1044

  • Consequences of from_json / to_json being in namespace of data struct. #1042

  • const_reference operator[]const typename object\_t::key\_type& key const throw instead of assert #1039

  • Trying to retrieve data from nested objects #1038

  • Direct download link for json_fwd.hpp? #1037

  • I know the library supports UTF-8, but failed to dump the value #1036

  • Putting a Vec3-like vector into a json object #1035

  • Ternary operator crash #1034

  • Issued with Clion Inspection Resolution since 2018.1 #1033

  • Some testcases fail and one never finishes #1032

  • Can this class work with wchar_t / std::wstring? #1031

  • Makefile: Valgrind flags have no effect #1030

  • 「==」 Should be 「>」 #1029

  • HOCON reader? #1027

  • add json string in previous string?? #1025

  • RFC: fluent parsing interface #1023

  • Does it support chinese character? #1022

  • to/from_msgpack only works with standard typization #1021

  • Build failure using latest clang and GCC compilers #1020

  • can two json objects be concatenated? #1019

  • Erase by integer index #1018

  • Function find overload taking a json_pointer #1017

  • I think should implement an parser function #1016

  • Readme gif #1015

  • Python bindings #1014

  • how to add two json string in single object?? #1012

  • how to serialize class Object convert data in object into json?? #1011

  • Enable forward declaration of json by making json a class instead of a using declaration #997

  • compilation error while using intel c++ compiler 2018 #994

  • How to create a json variable? #990

  • istream >> json --- 1st character skipped in stream #976

  • Add a SAX parser #971

  • Add Key name to Exception #932

  • How to solve large json file? #927

  • json_pointer public push_back, pop_back #837

  • Using input_adapter in a slightly unexpected way #834

  • Stack-overflow OSS-Fuzz 4234 #832

  • Fix -Wno-sometimes-uninitialized by initializing "result" in parse_sax #1200 (thyu)

  • RFC
  • Fix unit tests that were silently skipped or crashed depending on the compiler #1176 (grembo)

  • Refactor/no virtual sax #1153 (theodelrieu)

  • Fixed compiler error in VS 2015 for debug mode #1151 (sonulohani)

  • Fix links to cppreference named requirements formerly concepts #1144 (jrakow)

  • meson: fix include directory #1142 (jrakow)

  • Feature/unordered map conversion #1138 (theodelrieu)

  • fixed compile error for #1045 #1134 (Daniel599)

  • test (non)equality for alt_string implementation #1130 (agrianius)

  • remove stringstream dependency #1117 (TinyTinni)

  • Provide a from_json overload for std::map #1089 (theodelrieu)

  • fix typo in README #1078 (martin-mfg)

  • Fix typo #1058 (dns13)

  • Misc cmake packaging enhancements #1048 (chuckatkins)

  • Fixed incorrect LLVM version number in README #1047 (jammehcow)

  • Fix trivial typo in comment. #1043 (coryan)

  • Package Manager: Spack #1041 (ax3l)

  • CMake: 3.8+ is Sufficient #1040 (ax3l)

  • Added support for string_view in C++17 #1028 (gracicot)

  • Added public target_compile_features for auto and constexpr #1026 (ktonon)

v3.1.2 (2018-03-14)

Full Changelog

  • STL containers are always serialized to a nested array like 1,2,3 #1013

  • The library doesn't want to insert an unordered_map #1010

  • Convert Json to uint8_t #1008

  • How to compare two JSON objects? #1007

  • Syntax checking #1003

  • more than one operator '=' matches these operands #1002

  • How to check if key existed #1000

  • nlohmann::json::parse exhaust memory in go binding #999

  • Range-based iteration over a non-array object #998

  • get<T> for types that are not default constructible #996

  • Prevent Null values to appear in .dump() #995

  • number parsing #993

  • C2664 C++/CLR cannot convert 'nullptr' to 'nullptr &&' #987

  • Uniform initialization from another json object differs between gcc and clang. #985

  • Problem with adding the lib as a submodule #983

  • UTF-8/Unicode error #982

  • "forcing MSVC stacktrace to show which T we're talking about." error #980

  • reverse order of serialization #979

  • Assigning between different json types #977

  • Support serialisation of unique\_ptr\<\> and shared\_ptr\<\> #975

  • Unexpected end of input not same as one before #974

  • Segfault on direct initializing json object #973

  • Segmentation fault on G++ when trying to assign json string literal to custom json type. #972

  • os_defines.h:44:19: error: missing binary operator before token "(" #970

  • Passing an iteration object by reference to a function #967

  • Json and fmt::lib's format_arg() #964

  • Allowing for user-defined string type in lexer/parser #1009 (nlohmann)

  • dump to alternative string type, as defined in basic_json template #1006 (agrianius)

  • Fix memory leak during parser callback #1001 (nlohmann)

  • fixed misprinted condition detected by PVS Studio. #992 (bogemic)

  • Fix/basic json conversion #986 (theodelrieu)

  • Make integration section concise #981 (wla80)

v3.1.1 (2018-02-13)

Full Changelog

  • Updation of child object isn't reflected in parent Object #968

  • How to add user defined C++ path to sublime text #966

  • fast number parsing #965

  • With non-unique keys, later stored entries are not taken into account anymore #963

  • Timeout OSS-Fuzz 6034 #962

  • Incorrect parsing of indefinite length CBOR strings. #961

  • Reload a json file at runtime without emptying my std::ifstream #959

  • Split headers should be part of the release #956

  • Coveralls shows no coverage data #953

  • Feature request: Implicit conversion to bool #951

  • converting json to vector of type with templated constructor #924

  • No structured bindings support? #901

  • Request
  • basic_json::value throws exception instead of returning default value #871

  • Fix constraints on from_json(CompatibleArrayType) #969 (theodelrieu)

  • Make coveralls watch the include folder #957 (theodelrieu)

  • Fix links in README.md #955 (patrikhuber)

  • Add a note about installing the library with cget #954 (pfultz2)

v3.1.0 (2018-02-01)

Full Changelog

  • Order of the elements in JSON object #952

  • I have a proposal #949

  • VERSION define(s) #948

  • v3.0.1 compile error in icc 16.0.4 #947

  • Use in VS2017 15.5.5 #946

  • Process for reporting Security Bugs? #945

  • Please expose a NLOHMANN_JSON_VERSION macro #943

  • Change header include directory to nlohmann/json #942

  • string_type in binary_reader #941

  • compile error with clang 5.0 -std=c++1z and no string_view #939

  • Allow overriding JSON_THROW to something else than abort() #938

  • Handle invalid string in Json file #937

  • Unused variable 'kMinExp' #935

  • yytext is already defined #933

  • Equality operator fails #931

  • use in visual studio 2015 #929

  • Relative includes of json_fwd.hpp in detail/meta.hpp. [Develop branch] #928

  • GCC 7.x issue #926

  • json_fwd.hpp not installed #923

  • Use Google Benchmarks #921

  • Move class json_pointer to separate file #920

  • Unable to locate 'to_json()' and 'from_json()' methods in the same namespace #917

  • answered
  • Don't use define private public in test files #913

  • value() template argument type deduction #912

  • Installation path is incorrect #910

  • H #909

  • Build failure using clang 5 #908

  • Amalgate #907

  • Update documentation and tests wrt. split headers #906

  • Lib not working on ubuntu 16.04 #905

  • Problem when writing to file. #904

  • C2864 error when compiling with VS2015 and VS 2017 #903

  • json.exception.type\_error.304
  • How do I forward nlohmann::json declaration? #899

  • How to effectively store binary data? #898

  • How to get the length of a JSON string without retrieving its std::string? #897

  • Regression Tests Failure using "ctest" #887

  • Discuss: add JSON Merge Patch RFC 7396? #877

  • Discuss: replace static "iterator_wrapper" function with "items" member function #874

  • Make optional user-data available in from_json #864

  • Casting to std::string not working in VS2015 #861

  • Sequential reading of JSON arrays #851

  • Idea: Handle Multimaps Better #816

  • Floating point rounding #777

  • Loss of precision when serializing <double> #360

  • Templatize std::string in binary_reader #941 #950 (kaidokert)

  • fix cmake install directory for real this time #944 (theodelrieu)

  • Allow overriding THROW/CATCH/TRY macros with no-exceptions #938 #940 (kaidokert)

  • Removed compiler warning about unused variable 'kMinExp' #936 (zerodefect)

  • Fix a typo in README.md #930 (Pipeliner)

  • Howto installation of json_fwd.hpp fixes \#923 #925 (zerodefect)

  • fix sfinae on basic_json UDT constructor #919 (theodelrieu)

  • Floating-point formatting #915 (abolz)

  • Fix/cmake install #911 (theodelrieu)

  • fix link to the documentation of the emplace function #900 (Dobiasd)

  • JSON Merge Patch RFC 7396 #876 (nlohmann)

  • Refactor/split it #700 (theodelrieu)

v3.0.1 (2017-12-29)

Full Changelog

  • Problem parsing array to global vector #896

  • Invalid RFC6902 copy operation succeeds #894

  • How to rename a key during looping? #893

  • clang++-6.0 6.0.0-svn321357-1 warning #892

  • Make json.hpp aware of the modules TS? #891

  • All enum values not handled in switch cases. -Wswitch-enum #889

  • JSON Pointer resolve failure resulting in incorrect exception code #888

  • Unexpected nested arrays from std::vector #886

  • erase multiple elements from a json object #884

  • Container function overview in Doxygen is not updated #883

  • How to use this for binary file uploads #881

  • Allow setting JSON_BuildTests=OFF from parent CMakeLists.txt #846

  • Unit test fails for local-independent str-to-num #845

  • Another idea about type support #774

  • Includes CTest module/adds BUILD_TESTING option #885 (TinyTinni)

  • Fix MSVC warning C4819 #882 (erengy)

  • Merge branch 'develop' into coverity_scan #880 (nlohmann)

  • 🔧 Fix up a few more effc++ items #858 (mattismyname)

v3.0.0 (2017-12-17)

Full Changelog

  • unicode strings #878

  • Visual Studio 2017 15.5 C++17 std::allocator deprecations #872

  • Typo "excpetion" #869

  • Explicit array example in README.md incorrect #867

  • why don't you release this from Feb. ? #865

  • json::parse throws std::invalid_argument when processing string generated by json::dump() #863

  • code analysis: potential bug? #859

  • MSVC2017, 15.5 new issues. #857

  • very basic: fetching string value/content without quotes #853

  • Ambiguous function call to get with pointer type and constant json object in VS2015 15.4.4 #852

  • How to put object in the array as a member? #850

  • misclick, please ignore #849

  • Make XML great again. #847

  • Converting to array not working #843

  • Iteration weirdness #842

  • Use reference or pointer as Object value #841

  • Ambiguity in parsing nested maps #840

  • could not find from_json() method in T's namespace #839

  • Incorrect parse error with binary data in keys? #838

  • using dump() when std::wstring is StringType with VS2017 #836

  • Show the path of the currently parsed value when an error occurs #835

  • Repetitive data type while reading #833

  • Storing multiple types inside map #831

  • Application terminating #830

  • Missing CMake hunter package? #828

  • std::map<std::string, std::string> from json object yields C2665: 'std::pair<const _Kty,_Ty>::pair': none of the 2 overloads could convert all the argument types #827

  • object.dump gives quoted string, want to use .dump() to generate javascripts. #826

  • Assertion failed on ["NoExistKey"] of an not existing key of const json& #825

  • vs2015 error : static member will remain uninitialized at runtime but use in constant-expressions is supported #824

  • Code Checking Warnings from json.hpp on VS2017 Community #821

  • Missing iostream in try online #820

  • Floating point value loses decimal point during dump #818

  • Conan package for the library #817

  • stream error #815

  • Link error when using find() on the latest commit #814

  • ABI issue with json object between 2 shared libraries #813

  • scan_string() return token_type::parse_error; when parse ansi file #812

  • segfault when using fifo_map with json #810

  • This shit is shit #809

  • _finite and _isnan are no members of "std" #808

  • how to print out the line which causing exception? #806

  • {} uses copy constructor, while = does not #805

  • json.hpp:8955: multiple definition of function that is not defined twice or more. #804

  • question
  • Misleading error message - unexpected '"' - on incorrect utf-8 symbol #802

  • json data = std::string_view("hi"); doesn't work? #801

  • Thread safety of parse() #800

  • Numbers as strings #799

  • Tests failing on arm #797

  • Using your library without modification in another library #796

  • Iterating over sub-object #794

  • how to get the json object again from which printed by the method of dump() #792

  • ppa to include source #791

  • Different include paths in macOS and Ubuntu #790

  • Missing break after line 12886 in switch/case #789

  • All unit tests fail? #787

  • More use of move semantics in deserialization #786

  • warning C4706 - Visual Studio 2017 /W4 #784

  • Compile error in clang 5.0 #782

  • Error Installing appium_lib with Ruby v2.4.2 Due to JSON #781

  • ::get<int> fails in new(er) release [MSVC] #780

  • Type Conversion #779

  • Segfault on nested parsing #778

  • Build warnings: shadowing exception id #776

  • multi-level JSON support. #775

  • SIGABRT on dump() #773

  • Question
  • constexpr ALL the Things! #771

  • error: BasicJsonType in namespace :: does not name a type #770

  • Program calls abort function #769

  • Question
  • make check - no test ran #767

  • The library cannot work properly with custom allocator based containers #766

  • Documentation or feature request. #763

  • warnings in msvc about mix/max macro while windows.h is used in the project #762

  • std::signbit ambiguous #761

  • How to use value for std::experimental::optional type? #760

  • Cannot load json file properly #759

  • Compilation error with unordered_map< int, int > #758

  • CBOR string #757

  • Proposal: out_of_range should be a subclass of std::out_of_range #756

  • Compiling with icpc #755

  • Getter is setting the value to null if the key does not exist #754

  • parsing works sometimes and crashes others #752

  • Static_assert failed "incompatible pointer type" with Xcode #751

  • user-defined literal operator not found #750

  • getting clean string from it.key() #748

  • Best method for exploring and obtaining values of nested json objects when the names are not known beforehand? #747

  • null char at the end of string #746

  • Incorrect sample for operator >> in docs #745

  • User-friendly documentation #744

  • Retrieve all values that match a json path #743

  • Compilation issue with gcc 7.2 #742

  • CMake target nlohmann_json does not have src into its interface includes #741

  • Error when serializing empty json: type must be string, but is object #740

  • Conversion error for std::map<int, std::string> #739

  • Dumping Json to file as array #738

  • nesting json objects #737

  • where to find general help? #736

  • Compilation Error on Clang 5.0 Upgrade #735

  • Compilation error with std::map<std::string, std::string> on vs 2015 #734

  • Benchmarks for Binary formats #733

  • Move test blobs to a submodule? #732

  • Support \n symbols in json string. #731

  • Project's name is too generic and hard to search for #730

  • Visual Studio 2015 IntelliTrace problems #729

  • How to erase nested objects inside other objects? #728

  • How to prevent alphabetical sorting of data? #727

  • Serialization for CBOR #726

  • Using json Object as value in a map #725

  • std::regex and nlohmann::json value #724

  • Warnings when compiling with VisualStudio 2015 #723

  • Has this lib the unicode wstring support? #722

  • When will be 3.0 in master? #721

  • Determine the type from error message. #720

  • Compile-Error C2100 MS VS2015 in line 887 json.hpp #719

  • from_json not working for boost::optional example #718

  • about from_json and to_json function #717

  • How to deserialize array with derived objects #716

  • How to detect parse failure? #715

  • Parse throw std::ios_base::failure exception when failbit set to true #714

  • Is there a way of format just making a pretty print without changing the key's orders ? #713

  • Serialization of array of not same model items #712

  • pointer to json parse vector #711

  • Gtest SEH Exception #709

  • broken from_json implementation for pair and tuple #707

  • Unevaluated lambda in assert breaks gcc 7 build #705

  • Issues when adding values to firebase database #704

  • Floating point equality - revisited #703

  • Conversion from valarray<double> to json fails to build #702

  • internal compiler error gcc7 #701

  • One build system to rule them all #698

  • Generated nlohmann_jsonConfig.cmake does not set JSON_INCLUDE_DIR #695

  • support the Chinese language in json string #694

  • NaN problem within develop branch #693

  • Please post example of specialization for boost::filesystem #692

  • Impossible to do an array of composite objects #691

  • How to save json to file? #690

  • my simple json parser #689

  • problem with new struct parsing syntax #688

  • Parse error while parse the json string contains UTF 8 encoded document bytes string #684

  • question
  • create json object from string variable #681

  • adl_serializer and CRTP #680

  • Is there a way to control the precision of serialized floating point numbers? #677

  • Is there a way to get the path of a value? #676

  • Could the parser locate errors to line? #675

  • There is performance inefficiency found by coverity tool json2.1.1/include/nlohmann/json.hpp #673

  • include problem, when cmake on osx #672

  • Operator= ambiguous in C++1z and GCC 7.1.1 #670

  • should't the cmake install target be to nlohman/json.hpp #668

  • deserialise from std::vector #667

  • How to iterate? #665

  • could this json lib work on windows? #664

  • How does from_json work? #662

  • insert(or merge) object should replace same key , not ignore #661

  • Why is an object ordering values by Alphabetical Order? #660

  • Parse method doesn't handle newlines. #659

  • Compilation "note" on GCC 6 ARM #658

  • Adding additional push_back/operator+= rvalue overloads for JSON object #657

  • dump's parameter "ensure_ascii" creates too long sequences #656

  • Question: parsing void \* #655

  • how should I check a string is valid JSON string ? #653

  • Question: thread safety of read only accesses #651

  • Eclipse: Method 'size' could not be resolved #649

  • Update/Add object fields #648

  • No exception raised for Out Of Range input of numbers #647

  • Package Name #646

  • What is the meaning of operator[]T\* key #645

  • Which is the correct way to json objects as parameters to functions? #644

  • Method to get string representations of values #642

  • CBOR serialization of a given JSON value does not serialize #641

  • Are we forced to use "-fexceptions" flag in android ndk project #640

  • Comparison of objects containing floats #639

  • 'localeconv' is not supported by NDK for SDK <=20 #638

  • Question
  • How to construct an iteratable usage in nlohmann json? #636

  • Question
  • Get size without .dump() #634

  • Segmentation fault when parsing invalid json file #633

  • How to serialize from json to vector<customType>? #632

  • no member named 'thousands_sep' in 'lconv' #631

  • Question
  • Dependency injection in serializer #627

  • from_json for std::array #625

  • Discussion: How to structure the parsing function families #623

  • Question: How to erase subtree #622

  • Insertion into nested json field #621

  • Question
  • Question: return static json object from function #618

  • icc16 error #617

  • -Wdeprecated-declarations
  • to_json for pairs, tuples #614

  • Using uninitialized memory 'buf' in line 11173 v2.1.1? #613

  • How to parse multiple same Keys of JSON and save them? #612

  • "Multiple declarations" error when using types defined with typedef #611

  • 2.1.1+ breaks compilation of shared_ptr<json> == 0 #610

  • a bug of inheritance ? #608

  • std::map key conversion with to_json #607

  • json.hpp:6384:62: error: wrong number of template arguments 1, should be 2 #606

  • Incremental parsing: Where's the push version? #605

  • Is there a way to validate the structure of a json object ? #604

  • Question
  • BOM not skipped when using json:parse(iterator) #602

  • Use of the binary type in CBOR and Message Pack #601

  • Newbie issue: how does one convert a map in Json back to std::map? #600

  • Plugin system #599

  • Feature request: Comments #597

  • Using custom types for scalars? #596

  • Issues with the arithmetic in iterator and reverse iterator #593

  • not enough examples #592

  • in-class initialization for type 'const T' is not yet implemented #591

  • compiling with gcc 7 -> error on bool operator < #590

  • Parsing from stream leads to an array #589

  • Buggy support for binary string data #587

  • C++17's ambiguous conversion #586

  • How does the messagepack encoding/decoding compare to msgpack-cpp in terms of performance? #585

  • is it possible to check existence of a value deep in hierarchy? #584

  • loading from a stream and exceptions #582

  • Visual Studio seems not to have all min() function versions #581

  • Supporting of the json schema #580

  • Stack-overflow OSS-Fuzz 1444 #577

  • Heap-buffer-overflow OSS-Fuzz 1400 #575

  • JSON escape quotes #574

  • error: static_assert failed #573

  • Storing floats, and round trip serialisation/deserialisation diffs #572

  • JSON.getLong produces inconsistent results #571

  • Request: Object.at() with default return value #570

  • Internal structure gets corrupted while parsing #569

  • create template <typename Iter> basic_json from_cbor(Iter begin, Iter end) #568

  • Need to improve ignores.. #567

  • Conan.io #566

  • contradictory documentation regarding json::find #565

  • Unexpected '"' in middle of array #564

  • Support parse std::pair to Json object #563

  • json and Microsoft Visual c++ Compiler Nov 2012 CTP #562

  • from_json declaration order and exceptions #561

  • Tip: Don't upgrade to VS2017 if using json initializer list constructs #559

  • parse error - unexpected end of input #558

  • Cant modify existing numbers inside a json object #557

  • Minimal repository current size very large #556

  • Better support for SAX style serialize and deserialize in new version? #554

  • Cannot convert from json array to std::array #553

  • Do not define an unnamed namespace in a header file DCL59-CPP #552

  • Parse error on known good json file #551

  • Warning on Intel compiler icc 17 #550

  • multiple versions of 'vsnprintf' #549

  • illegal indirection #548

  • Ambiguous compare operators with clang-5.0 #547

  • Using tsl::ordered_map #546

  • Compiler support errors are inconvenient #544

  • Head Elements Sorting #543

  • Duplicate symbols error happens while to_json/from_json method implemented inside entity definition header file #542

  • consider adding a bool json::is_valid(std::string const&) non-member function #541

  • Help request #539

  • How to deal with missing keys in from\_json? #538

  • recursive from_msgpack implementation will stack overflow #537

  • Exception objects must be nothrow copy constructible ERR60-CPP #531

  • Support for multiple root elements #529

  • Port has_shape from dropbox/json11 #528

  • dump_float: truncation from ptrdiff_t to long #527

  • Make exception base class visible in basic_json #525

  • msgpack unit test failures on ppc64 arch #524

  • How about split the implementation out, and only leave the interface? #523

  • VC++2017 not enough actual parameters for macro 'max' #522

  • crash on empty ifstream #521

  • Suggestion: Support tabs for indentation when serializing to stream. #520

  • Abrt in get_number OSS-Fuzz 885 #519

  • Abrt on unknown address OSS-Fuzz 884 #518

  • Stack-overflow OSS-Fuzz 869 #517

  • Assertion error OSS-Fuzz 868 #516

  • NaN to json and back #515

  • Comparison of NaN #514

  • why it's not possible to serialize c++11 enums directly #513

  • clang compile error: use of overloaded operator '<=' is ambiguous with (nlohmann::json{{"a", 5}})["a"] <= 10 #512

  • Why not also look inside the type for static to_json and from_json funtions? #511

  • Parser issues #509

  • I may not understand #507

  • VS2017 min / max problem for 2.1.1 #506

  • CBOR/MessagePack is not read until the end #505

  • Assertion error OSS-Fuzz 856 #504

  • Return position in parse error exceptions #503

  • conversion from/to C array is not supported #502

  • error C2338: could not find to_json() method in T's namespace #501

  • Test suite fails in en_GB.UTF-8 #500

  • cannot use operator[] with number #499

  • consider using __cpp_exceptions and/or __EXCEPTIONS to disable/enable exception support #498

  • Stack-overflow OSS-Fuzz issue 814 #497

  • Using in Unreal Engine - handling custom types conversion #495

  • Conversion from vector<bool> to json fails to build #494

  • fill_line_buffer incorrectly tests m_stream for eof but not fail or bad bits #493

  • Compiling with _GLIBCXX_DEBUG yields iterator-comparison warnings during tests #492

  • crapy interface #491

  • Fix Visual Studo 2013 builds. #490

  • Failed to compile with -D_GLIBCXX_PARALLEL #489

  • Input several field with the same name #488

  • read in .json file yields strange sizes #487

  • json::value_t can't be a map's key type in VC++ 2015 #486

  • Using fifo_map #485

  • Cannot get float pointer for value stored as 0 #484

  • byte string support #483

  • For a header-only library you have to clone 214MB #482

  • https://github.com/nlohmann/json#execute-unit-tests #481

  • Remove deprecated constructor basic_json(std::istream&) #480

  • writing the binary json file? #479

  • CBOR/MessagePack from uint8_t * and size #478

  • Streaming binary representations #477

  • Reuse memory in to_cbor and to_msgpack functions #476

  • Error Using JSON Library with arrays C++ #475

  • Moving forward to version 3.0.0 #474

  • Inconsistent behavior in conversion to array type #473

  • Create a [key:member_pointer] map to ease parsing custom types #471

  • MSVC 2015 update 2 #469

  • VS2017 implicit to std::string conversion fix. #464

  • How to make sure a string or string literal is a valid JSON? #458

  • basic_json templated on a "policy" class #456

  • json::value(const json_pointer&, ValueType) requires exceptions to return the default value. #440

  • is it possible merge two json object #428

  • Is it possible to turn this into a shared library? #420

  • Further thoughts on performance improvements #418

  • nan number stored as null #388

  • Behavior of operator>> should more closely resemble that of built-in overloads. #367

  • Request: range-based-for over a json-object to expose .first/.second #350

  • feature wish: JSONPath #343

  • UTF-8/Unicode escape and dump #330

  • Serialized value not always can be parsed. #329

  • Is there a way to forward declare nlohmann::json? #314

  • Exception line #301

  • Do not throw exception when default_value's type does not match the actual type #278

  • dump() method doesn't work with a custom allocator #268

  • Readme documentation enhancements #248

  • Use user-defined exceptions #244

  • Incorrect C++11 allocator model support #161

  • re-added tests for algorithms #879 (nlohmann)

  • Overworked library toward 3.0.0 release #875 (nlohmann)

  • 🚨 remove C4996 warnings #872 #873 (nlohmann)

  • 💥 throwing an exception in case dump encounters a non-UTF-8 string #838 #870 (nlohmann)

  • 📝 fixing documentation #867 #868 (nlohmann)

  • iter_impl template conformance with C++17 #860 (bogemic)

  • Std allocator conformance cpp17 #856 (bogemic)

  • cmake: use BUILD_INTERFACE/INSTALL_INTERFACE #855 (theodelrieu)

  • to/from_json: add a MSVC-specific static_assert to force a stacktrace #854 (theodelrieu)

  • Add .natvis for MSVC debug view #844 (TinyTinni)

  • Updated hunter package links #829 (jowr)

  • Typos README #811 (Itja)

  • add forwarding references to json_ref constructor #807 (theodelrieu)

  • Add transparent comparator and perfect forwarding support to find() and count() #795 (jseward)

  • Error : 'identifier "size_t" is undefined' in linux #793 (sonulohani)

  • Fix Visual Studio 2017 warnings #788 (jseward)

  • Fix warning C4706 on Visual Studio 2017 #785 (jseward)

  • Set GENERATE_TAGFILE in Doxyfile #783 (eld00d)

  • using more CMake #765 (nlohmann)

  • Simplified istream handing #367 #764 (pjkundert)

  • Add info for the vcpkg package. #753 (gregmarr)

  • fix from_json implementation for pair/tuple #708 (theodelrieu)

  • Update json.hpp #686 (GoWebProd)

  • Remove duplicate word #685 (daixtrose)

  • To fix compilation issue for intel OSX compiler #682 (kbthomp1)

  • Digraph warning #679 (traits)

  • massage -> message #678 (DmitryKuk)

  • Fix "not constraint" grammar in docs #674 (wincent)

  • Add documentation for integration with CMake and hunter #671 (dan-42)

  • REFACTOR: rewrite CMakeLists.txt for better inlcude and reuse #669 (dan-42)

  • enable_testing only if the JSON_BuildTests is ON #666 (effolkronium)

  • Support moving from rvalues in std::initializer_list #663 (himikof)

  • add ensure_ascii parameter to dump. #330 #654 (ryanjmulder)

  • Rename BuildTests to JSON_BuildTests #652 (olegendo)

  • Don't include <iostream>, use std::make_shared #650 (olegendo)

  • Refacto/split basic json #643 (theodelrieu)

  • fix typo in operator__notequal example #630 (Chocobo1)

  • Fix MSVC warning C4819 #629 (Chocobo1)

  • BugFix
  • add pair/tuple conversions #624 (theodelrieu)

  • remove std::pair support #615 (theodelrieu)

  • Add pair support, fix CompatibleObject conversions fixes \#600 #609 (theodelrieu)

  • #550 Fix iterator related compiling issues for Intel icc #598 (HenryRLee)

  • Issue #593 Fix the arithmetic operators in the iterator and reverse iterator #595 (HenryRLee)

  • fix doxygen error of basic_json::get() #583 (zhaohuaxishi)

  • Fixing assignement for iterator wrapper second, and adding unit test #579 (Type1J)

  • Adding first and second properties to iteration_proxy_internal #578 (Type1J)

  • Adding support for Meson. #576 (Type1J)

  • add enum class default conversions #545 (theodelrieu)

  • Properly pop diagnostics #540 (tinloaf)

  • Add Visual Studio 17 image to appveyor build matrix #536 (vpetrigo)

  • UTF8 encoding enhancement #534 (TedLyngmo)

  • Fix typo #530 (berkus)

  • Make exception base class visible in basic_json #526 (krzysztofwos)

  • 🎨 Namespace uint8\_t from the C++ stdlib #510 (alex-weej)

  • add to_json method for C arrays #508 (theodelrieu)

  • Fix -Weffc++ warnings GNU 6.3.1 #496 (TedLyngmo)

v2.1.1 (2017-02-25)

Full Changelog

  • warning in the library #472

  • How to create an array of Objects? #470

  • Bug?
  • Illegal indirection #467

  • in vs can't find linkageId #466

  • Roundtrip error while parsing "1000000000000000010E5" #465

  • C4996 error and warning with Visual Studio #463

  • Support startIndex for from_cbor/from_msgpack #462

  • question: monospace font used in feature slideshow? #460

  • Object.keys() #459

  • Use “, “ as delimiter for json-objects. #457

  • Enum -> string during serialization and vice versa #455

  • doubles are printed as integers #454

  • Warnings with Visual Studio c++ VS2015 Update 3 #453

  • Heap-buffer-overflow OSS-Fuzz issue 585 #452

  • use of undeclared identifier 'UINT8_MAX' #451

  • Question on the lifetime managment of objects at the lower levels #449

  • Json should not be constructible with 'json*' #448

  • Move value_t to namespace scope #447

  • Typo in README.md #446

  • make check compilation is unneccesarily slow #445

  • Problem in dump() in json.h caused by ss.imbue #444

  • I want to create Windows Application in Visual Studio 2015 c++, and i have a problem #443

  • Implicit conversion issues #442

  • Parsing of floats locale dependent #302

  • Speedup CI builds using cotire #461 (tusharpm)

  • TurpentineDistillery feature/locale independent str to num #450 (nlohmann)

  • README: adjust boost::optional example #439 (jaredgrubb)

  • fix #414 - comparing to 0 literal #415 (stanmihai4)

v2.1.0 (2017-01-28)

Full Changelog

  • Parsing multiple JSON objects from a string or stream #438

  • Use-of-uninitialized-value OSS-Fuzz issue 477 #437

  • add reserve function for array to reserve memory before adding json values into it #436

  • Typo in examples page #434

  • avoid malformed json #433

  • How to add json objects to a map? #432

  • create json instance from raw json unsigned char\* #431

  • Getting std::invalid_argument: stream error when following example #429

  • Forward declare-only header? #427

  • Implicit conversion from array to object #425

  • Automatic ordered JSON #424

  • error C4996: 'strerror' when reading file #422

  • Get an error - JSON pointer must be empty or begin with '/' #421

  • size parameter for parse() #419

  • json.hpp forcibly defines GCC_VERSION #417

  • Use-of-uninitialized-value OSS-Fuzz issue 377 #416

  • comparing to 0 literal #414

  • Single char converted to ASCII code instead of string #413

  • How to know if a string was parsed as utf-8? #406

  • Overloaded += to add objects to an array makes no sense? #404

  • Finding a value in an array #399

  • add release information in static function #397

  • Optimize memory usage of json objects in combination with binary serialization #373

  • Conversion operators not considered #369

  • Append ".0" to serialized floating_point values that are digits-only. #362

  • Add a customization point for user-defined types #328

  • Conformance report for reference #307

  • Document the best way to serialize/deserialize user defined types to json #298

  • Add StringView template typename to basic_json #297

  • Improvement
  • Performance in miloyip/nativejson-benchmark #202

  • conversion from/to user-defined types #435 (nlohmann)

  • Fix documentation error #430 (vjon)

  • locale-independent num-to-str #378 (TurpentineDistillery)

v2.0.10 (2017-01-02)

Full Changelog

  • Heap-buffer-overflow OSS-Fuzz issue 367 #412

  • Heap-buffer-overflow OSS-Fuzz issue 366 #411

  • Use-of-uninitialized-value OSS-Fuzz issue 347 #409

  • Heap-buffer-overflow OSS-Fuzz issue 344 #408

  • Heap-buffer-overflow OSS-Fuzz issue 343 #407

  • Heap-buffer-overflow OSS-Fuzz issue 342 #405

  • strerror throwing error in compiler VS2015 #403

  • json::parse of std::string being underlined by Visual Studio #402

  • Explicitly getting string without .dump() #401

  • Possible to speed up json::parse? #398

  • the alphabetic order in the code influence console_output. #396

  • Execute tests with clang sanitizers #394

  • Check if library can be used with ETL #361

  • Feature/clang sanitize #410 (Daniel599)

  • Add Doozer build badge #400 (andoma)

v2.0.9 (2016-12-16)

Full Changelog

  • #pragma GCC diagnostic ignored "-Wdocumentation" #393

  • How to parse this json file and write separate sub object as json files? #392

  • Integer-overflow OSS-Fuzz issue 267 #389

  • Implement indefinite-length types from RFC 7049 #387

  • template parameter "T" is not used in declaring the parameter types of function template #386

  • Serializing json instances containing already serialized string values without escaping #385

  • Add test cases from RFC 7049 #384

  • Add a table of contents to the README file #383

  • Update FAQ section in the guidelines for contributing #382

  • Allow for forward declaring nlohmann::json #381

  • Bug in overflow detection when parsing integers #380

  • A unique name to mention the library? #377

  • Support for comments. #376

  • Non-unique keys in objects. #375

  • Request: binary serialization/deserialization #358

  • Replace class iterator and const_iterator by using a single template class to reduce code. #395 (Bosswestfalen)

  • Clang: quiet a warning #391 (jaredgrubb)

  • Fix issue #380: Signed integer overflow check #390 (qwename)

v2.0.8 (2016-12-02)

Full Changelog

  • Reading from file #374
  • Compiler warnings? #372
  • docs: how to release a json object in memory? #371
  • crash in dump #370
  • Coverity issue FORWARD\_NULL in lexer(std::istream& s) #368
  • json::parse on failed stream gets stuck #366
  • Performance improvements #365
  • 'to_string' is not a member of 'std' #364
  • Optional comment support. #363
  • Crash in dump() from a static object #359
  • json::parse(...) vs json j; j.parse(...) #357
  • Hi, is there any method to dump json to string with the insert order rather than alphabets #356
  • Provide an example of reading from an json with only a key that has an array of strings. #354
  • Request: access with default value. #353
  • {} and [] causes parser error. #352
  • Reading a JSON file into a JSON object #351
  • Request: 'emplace_back' #349
  • Is it possible to stream data through the json parser without storing everything in memory? #347
  • pure virtual conversion operator #346
  • Floating point precision lost #345
  • unit-conversions SIGSEGV on armv7hl #303
  • Coverity scan fails #299
  • Using QString as string type #274

v2.0.7 (2016-11-02)

Full Changelog

  • JSON5 #348

  • Check "Parsing JSON is a Minefield" #344

  • Allow hex numbers #342

  • Convert strings to numbers #341

  • ""-operators ignore the length parameter #340

  • JSON into std::tuple #339

  • JSON into vector #335

  • Installing with Homebrew on Mac Errors El Capitan #331

  • g++ make check results in error #312

  • Cannot convert from 'json' to 'char' #276

  • Please add a Pretty-Print option for arrays to stay always in one line #229

  • Conversion to STL map<string, vector<int>> gives error #220

  • std::unorderd_map cannot be used as ObjectType #164

  • fix minor grammar/style issue in README.md #336 (seeekr)

v2.0.6 (2016-10-15)

Full Changelog

  • How to handle json files? #333

  • This file requires compiler and library support .... #332

  • Segmentation fault on saving json to file #326

  • parse error - unexpected <uninitialized> with 2.0.5 #325

  • Add nested object capability to pointers #323

  • Fix usage examples' comments for std::multiset #322

  • json_unit runs forever when executed in build directory #319

  • Visual studio 2015 update3 true != TRUE #317

  • releasing single header file in compressed format #316

  • json object from std::ifstream #315

  • make has_mapped_type struct friendly #324 (vpetrigo)

  • Fix usage examples' comments for std::multiset #321 (vasild)

  • Include dir relocation #318 (ChristophJud)

  • trivial documentation fix #313 (5tefan)

v2.0.5 (2016-09-14)

Full Changelog

  • feature request
  • make json_benchmarks no longer working in 2.0.4 #310
  • Segmentation fault core dumped #309
  • No matching member function for call to 'get_impl' #308

v2.0.4 (2016-09-11)

Full Changelog

  • Parsing fails without space at end of file #306
  • json schema validator #305
  • Unused variable warning #304

v2.0.3 (2016-08-31)

Full Changelog

  • warning C4706: assignment within conditional expression #295

  • Strip comments / Minify #294

  • Q: Is it possible to build json tree from already UTF8 encoded values? #293

  • Equality operator results in array when assigned object #292

  • Support for integers not from the range [-(2**53)+1, (2**53)-1] in parser #291

  • Support for iterator-range parsing #290

  • Horribly inconsistent behavior between const/non-const reference in operator [] #289

  • Silently get numbers into smaller types #288

  • Incorrect parsing of large int64_t numbers #287

  • question
  • unit-constructor1.cpp: Fix floating point truncation warning #300 (t-b)

v2.0.2 (2016-07-31)

Full Changelog

  • can function dump() return string in the order I push in the json object ? #286

  • Error on the Mac: Undefined symbols for architecture x86_64 #285

  • value() does not work with _json_pointer types #283

  • Build error for std::int64 #282

  • strings can't be accessed after dump()->parse() - type is lost #281

  • Easy serialization of classes #280

  • recursive data structures #277

  • hexify() function emits conversion warning #270

  • let the makefile choose the correct sed #279 (murinicanor)

  • Update hexify to use array lookup instead of ternary \#270 #275 (dtoma)

v2.0.1 (2016-06-28)

Full Changelog

  • Compilation error. #273

  • dump() performance degradation in v2 #272

  • fixed a tiny typo #271 (feroldi)

v2.0.0 (2016-06-23)

Full Changelog

  • json::diff generates incorrect patch when removing multiple array elements. #269

  • Docs - What does Json[key] return? #267

  • Compiler Errors With JSON.hpp #265

  • Ambiguous push_back and operator+= overloads #263

  • Preseving order of items in json #262

  • '' char problem in strings #261

  • VS2015 compile fail #260

  • -Wconversion warning #259

  • Maybe a bug #258

  • Few tests failed on Visual C++ 2015 #257

  • Access keys when iteration with new for loop C++11 #256

  • multiline text values #255

  • Error when using json in g++ #254

  • is the release 2.0? #253

  • concatenate objects #252

  • Encoding #251

  • Unable to build example for constructing json object with stringstreams #250

  • Hexadecimal support #249

  • Update long-term goals #246

  • Contribution To This Json Project #245

  • Trouble using parser with initial dictionary #243

  • Unit test fails when doing a CMake out-of-tree build #241

  • -Wconversion warnings #239

  • Additional integration options #237

  • .get<std::string> works for non spaced string but returns as array for spaced/longer strings #236

  • ambiguous overload for 'push_back' and 'operator+=' #235

  • Can't use basic_json::iterator as a base iterator for std::move_iterator #233

  • json object's creation can freezes execution #231

  • Incorrect dumping of parsed numbers with exponents, but without decimal places #230

  • double values are serialized with commas as decimal points #228

  • Move semantics with std::initializer_list #225

  • replace emplace #224

  • abort during getline in yyfill #223

  • free(): invalid pointer error in GCC 5.2.1 #221

  • Error compile Android NDK error: 'strtof' is not a member of 'std' #219

  • Wrong link in the README.md #217

  • Wide character strings not supported #216

  • Memory allocations using range-based for loops #214

  • would you like to support gcc 4.8.1? #211

  • Reading concatenated json's from an istream #210

  • Conflicting typedef of ssize_t on Windows 32 bit when using Boost.Python #204

  • Inconsistency between operator[] and push_back #203

  • Small bugs in json.hpp get\_number and unit.cpp non-standard integer type test #199

  • GCC/clang floating point parsing bug in strtod() #195

  • What is within scope? #192

  • Bugs in miloyip/nativejson-benchmark: roundtrips #187

  • Floating point exceptions #181

  • Integer conversion to unsigned #178

  • map string string fails to compile #176

  • In basic_json::basic_json(const CompatibleArrayType& val), the requirement of CompatibleArrayType is not strict enough. #174

  • Provide a FAQ #163

  • Implicit assignment to std::string fails #144

  • Fix Issue #265 #266 (06needhamt)

  • Define CMake/CTest tests #247 (robertmrk)

  • Out of tree builds and a few other miscellaneous CMake cleanups. #242 (ChrisKitching)

  • Implement additional integration options #238 (robertmrk)

  • make serialization locale-independent #232 (nlohmann)

  • fixes #223 by updating README.md #227 (kevin--)

  • Use namespace std for int64_t and uint64_t #226 (lv-zheng)

  • Added missing cerrno header to fix ERANGE compile error on android #222 (Teemperor)

  • Corrected readme #218 (Annihil)

  • Create PULL_REQUEST_TEMPLATE.md #213 (whackashoe)

  • fixed noexcept; added constexpr #208 (nlohmann)

  • Add support for afl-fuzz testing #207 (mykter)

  • replaced ssize_t occurrences with auto addresses \#204 #205 (nlohmann)

  • Fixed issue #199 - Small bugs in json.hpp get\_number and unit.cpp non-standard integer type test #200 (twelsby)

  • Fix broken link #197 (vog)

  • Issue #195 - update Travis to Trusty due to gcc/clang strtod() bug #196 (twelsby)

  • Issue #178 - Extending support to full uint64_t/int64_t range and unsigned type updated #193 (twelsby)

v1.1.0 (2016-01-24)

Full Changelog

  • Small error in pull #185 #194

  • Bugs in miloyip/nativejson-benchmark: floating-point parsing #186

  • Floating point equality #185

  • Unused variables in catch #180

  • Typo in documentation #179

  • JSON performance benchmark comparision #177

  • Since re2c is often ignored in pull requests, it may make sense to make a contributing.md file #175

  • Question about exceptions #173

  • Android? #172

  • Cannot index by key of type static constexpr const char* #171

  • Add assertions #168

  • MSVC 2015 build fails when attempting to compare object_t #167

  • Member detector is not portable #166

  • Unnecessary const_cast #162

  • Question about get_ref() #128

  • range based for loop for objects #83

  • Consider submitting this to the Boost Library Incubator #66

  • Fixed Issue #186 - add strto(f|d|ld) overload wrappers, "-0.0" special case and FP trailing zero #191 (twelsby)

  • Issue #185 - remove approx() and use #pragma to kill warnings #190 (twelsby)

  • Fixed Issue #171 - added two extra template overloads of operator[] for T* arguments #189 (twelsby)

  • Fixed issue #167 - removed operator ValueType() condition for VS2015 #188 (twelsby)

  • Implementation of get_ref() #184 (dariomt)

  • Fixed some typos in CONTRIBUTING.md #182 (nibroc)

v1.0.0 (2015-12-27)

Full Changelog

  • add key name to exception #160

  • Getting member discarding qualifyer #159

  • basic_json::iterator::value() output includes quotes while basic_json::iterator::key() doesn't #158

  • Indexing const basic\_json\<\> with const basic\_string\<char\> #157

  • token_type_name(token_type t): not all control paths return a value #156

  • prevent json.hpp from emitting compiler warnings #154

  • json::parse(string) does not check utf8 bom #152

  • unsigned 64bit values output as signed #151

  • Wish feature: json5 #150

  • Unable to compile on MSVC 2015 with SDL checking enabled: This function or variable may be unsafe. #149

  • "Json Object" type does not keep object order #148

  • dump() convert strings encoded by utf-8 to shift-jis on windows 10. #147

  • Unable to get field names in a json object #145

  • Question: Is the use of incomplete type correct? #138

  • json.hpp:5746:32: error: 'to_string' is not a member of 'std' #136

  • Bug in basic_json::operator[] const overload #135

  • wrong enable_if for const pointer instead of pointer-to-const #134

  • overload of at() with default value #133

  • Splitting source #132

  • Question about get_ptr() #127

  • Visual Studio 14 Debug assertion failed #125

  • Memory leak in face of exceptions #118

  • Find and Count for arrays #117

  • dynamically constructing an arbitrarily nested object #114

  • Returning any data type #113

  • Compile error with g++ 4.9.3 cygwin 64-bit #112

  • insert json array issue with gcc4.8.2 #110

  • error: unterminated raw string #109

  • vector<json> copy constructor really weird #108

  • clang-3.6.2
  • maintaining order of keys during iteration #106

  • object field accessors #103

  • v8pp and json #95

  • Wishlist #65

  • Windows/Visual Studio through 2013 is unsupported #62

  • Replace sprintf with hex function, this fixes #149 #153 (whackashoe)

  • Fix character skipping after a surrogate pair #146 (robertmrk)

  • Detect correctly pointer-to-const #137 (dariomt)

  • disabled "CopyAssignable" test for MSVC in Debug mode, see #125 #131 (dariomt)

  • removed stream operator for iterator, resolution for #125 #130 (dariomt)

  • fixed typos in comments for examples #129 (dariomt)

  • Remove superfluous inefficiency #126 (d-frey)

  • remove invalid parameter '-stdlib=libc++' in CMakeLists.txt #124 (emvivre)

  • exception-safe object creation, fixes #118 #122 (d-frey)

  • Fix small oversight. #121 (ColinH)

  • Overload parse() to accept an rvalue reference #120 (silverweed)

  • Use the right variable name in doc string #115 (whoshuu)

v1.0.0-rc1 (2015-07-26)

  • Finish documenting the public interface in Doxygen #102

  • Binary string causes numbers to be dumped as hex #101

  • failed to iterator json object with reverse_iterator #100

  • 'noexcept' : unknown override specifier #99

  • json float parsing problem #98

  • Adjust wording to JSON RFC #97

  • 17 MB / 90 MB repo size!? #96

  • static analysis warnings #94

  • reverse_iterator operator inheritance problem #93

  • init error #92

  • access by const reference #91

  • is_integer and is_float tests #90

  • Nonstandard integer type #89

  • static library build #84

  • lexer::get_number return NAN #82

  • MinGW have no std::to_string #80

  • Incorrect behaviour of basic_json::count method #78

  • Invoking is_array() function creates "null" value #77

  • dump() / parse() not idempotent #76

  • Handle infinity and NaN cases #70

  • errors in g++-4.8.1 #68

  • Keys when iterating over objects #67

  • Compilation results in tons of warnings #64

  • Complete brief documentation #61

  • Double quotation mark is not parsed correctly #60

  • Get coverage back to 100% #58

  • erase elements using iterators #57

  • Removing item from array #56

  • Serialize/Deserialize like PHP? #55

  • Numbers as keys #54

  • Why are elements alphabetized on key while iterating? #53

  • Document erase, count, and iterators key and value #52

  • Do not use std::to_string #51

  • Supported compilers #50

  • Confused about iterating through json objects #49

  • Use non-member begin/end #48

  • Erase key #47

  • Key iterator #46

  • Add count member function #45

  • Problem getting vector array of strings #44

  • Compilation error due to assuming that private=public #43

  • Use of deprecated implicit copy constructor #42

  • Printing attribute names #39

  • dumping a small number_float just outputs 0.000000 #37

  • find is error #32

  • Avoid using spaces when encoding without pretty print #31

  • Cannot encode long numbers #30

  • segmentation fault when iterating over empty arrays/objects #28

  • Creating an empty array #27

  • Custom allocator support #25

  • make the type of the used string container customizable #20

  • Improper parsing of JSON string "\" #17

  • create a header-only version #16

  • Don't return "const values" #15

  • Add to_string overload for indentation #13

  • string parser does not recognize uncompliant strings #12

  • possible double-free in find function #11

  • UTF-8 encoding/deconding/testing #10

  • move code into namespace #9

  • free functions for explicit objects and arrays in initializer lists #8

  • unique_ptr for ownership #7

  • Add unit tests #4

  • Drop C++98 support #3

  • Test case coverage #2

  • Runtime error in Travis job #1

  • Keyword 'inline' is useless when member functions are defined in headers #87 (ahamez)

  • Remove useless typename #86 (ahamez)

  • Avoid warning with Xcode's clang #85 (ahamez)

  • Fix typos #73 (aqnouch)

  • Replace default\_callback function with nullptr and check for null… #72 (aburgh)

  • support enum #71 (likebeta)

  • Fix performance regression introduced with the parsing callback feature. #69 (aburgh)

  • Improve the implementations of the comparission-operators #63 (Florianjw)

  • Fix compilation of json_unit with GCC 5 #59 (dkopecek)

  • Parse streams incrementally. #40 (aburgh)

  • Feature/small float serialization #38 (jrandall)

  • template version with re2c scanner #36 (nlohmann)

  • more descriptive documentation in example #33 (luxe)

  • Fix string conversion under Clang #26 (wancw)

  • Fixed dumping of strings #24 (Teemperor)

  • Added a remark to the readme that coverage is GCC only for now #23 (Teemperor)

  • Unicode escaping #22 (Teemperor)

  • Implemented the JSON spec for string parsing for everything but the \uXXXX escaping #21 (Teemperor)

  • add the std iterator typedefs to iterator and const_iterator #19 (kirkshoop)

  • Fixed escaped quotes #18 (Teemperor)

  • Fix double delete on std::bad_alloc exception #14 (elliotgoodrich)

  • Added CMake and lcov #6 (Teemperor)

  • Version 2.0 #5 (nlohmann)

* This Change Log was automatically generated by github_changelog_generator