json v3.2.0 Release Notes

Release Date: 2018-08-20 // over 5 years ago
  • 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] Current place in code to change floating point resolution #1191
    • βž• 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
    • 0️⃣ 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] how to use nlohmann/json in c++? #1088
    • πŸ‘ C++17 decomposition declaration support #1087
    • [Question] Access multi-level json objects #1086
    • Serializing vector #1085
    • ⚑️ update nested value in multi hierarchy json object #1084
    • 0️⃣ 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
    • 0️⃣ 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] Access by path #1053
    • 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] Introduce a new macro function: JSON_INTERNAL_CATCH #1187 (simnalamburt)

    • πŸ›  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)