- 14 Aug, 2018 4 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
[RFC] Introduce a new macro function: JSON_INTERNAL_CATCH
-
Niels Lohmann authored
Fix unit tests that were silently skipped or crashed (depending on the compiler)
-
- 01 Aug, 2018 2 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
- 31 Jul, 2018 1 commit
-
-
Niels Lohmann authored
-
- 29 Jul, 2018 2 commits
-
-
Michael Gmelin authored
These tests never worked - they weren't run before d5aaeb4c. Note that these tests would fail because of this library ordering dictionary keys (which is legal). So changing the input files (or modifying stored cbor/msgpack/ubjson files) would make the tests work and they could get removed from "exclude_packaged". Also move parsing of files in these unit tests to within the inner sections, so that they're only parsed number_of_files * number_of_sections instead of number_of_files * number_of_files * number_of_sections (so, instead of close to 100k parses about 700).
-
Michael Gmelin authored
sections, see also https://github.com/catchorg/Catch2/issues/816#issuecomment-278268122 As a result, when built with gcc, loop iterations were skipped. When built with clang, the test aborted with an assertion in catch.hpp line 6222. This also addresses the issues discussed here: https://github.com/nlohmann/json/issues/1032#issuecomment-378707696 and here: https://github.com/catchorg/Catch2/issues/1241 Please note that this introduces new problems, as some of the unit tests fail now - the library stores keys in lexographical order, while the cbor/msgpack/ubjson examples store them in original order.
-
- 21 Jul, 2018 3 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
Error in AppVeyor: unit-conversions.cpp(441): error C2440: 'initializing': cannot convert from 'nlohmann::json' to 'std::nullptr_t' (https://ci.appveyor.com/project/nlohmann/json/build/2838/job/wo7im01sq6tvhe9m)
-
Niels Lohmann authored
-
- 19 Jul, 2018 2 commits
-
-
Niels Lohmann authored
-
Hyeon Kim authored
-
- 05 Jul, 2018 1 commit
-
-
Niels Lohmann authored
-
- 29 Jun, 2018 2 commits
-
-
Niels Lohmann authored
Fixed compiler error in VS 2015 for debug mode
-
-
- 28 Jun, 2018 2 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
fixed compile error for #1045
-
- 26 Jun, 2018 2 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
Fix links to cppreference named requirements (formerly concepts)
-
- 24 Jun, 2018 15 commits
-
-
Niels Lohmann authored
meson: fix include directory
-
Julius Rakow authored
"Concepts" have been renamed to "named requirements". This is because P0898R3 Standard Library Concepts has been merged into C++20. Cppreference have moved their links accordingly.
-
Julius Rakow authored
-
Julius Rakow authored
-
Julius Rakow authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
- 23 Jun, 2018 4 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
Added support for string_view in C++17
-
Niels Lohmann authored
The branch coverage reported by lcov is weird. The code before and after has the same Godbolt assembler, but the code with the lambda has a better branch coverage.
-
Niels Lohmann authored
-