- 27 Jun, 2020 3 commits
-
-
Niels Lohmann authored
Add option to ignore comments in parse/accept functions
-
Niels Lohmann authored
Enable CMake policy CMP0077
-
Niels Lohmann authored
Fix Clang-Tidy warnings
-
- 26 Jun, 2020 1 commit
-
-
Alex Reinking authored
Projects that import json via [FetchContent](https://cmake.org/cmake/help/latest/module/FetchContent.html) or `add_subdirectory` pointed at a git submodule may want to set `JSON_BuildTests` to "NO". However, this doesn't work without creating an identical `option()` in the importing project. Enabling CMP0077 in supported versions of CMake changes the behavior of `option()` to allow importing projects to set default values for the variables without touching the cache. See the documentation for CMP0077 here: https://cmake.org/cmake/help/latest/policy/CMP0077.html
-
- 24 Jun, 2020 1 commit
-
-
Niels Lohmann authored
Fix consistency in function `int_to_string()`
-
- 23 Jun, 2020 3 commits
-
-
Niels Lohmann authored
Fix issue#1275
-
Niels Lohmann authored
Use unsigned indizies for array index in json pointer
-
chenguoping authored
-
- 22 Jun, 2020 5 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
chenguoping authored
-
Thomas Braun authored
The current code uses std::stoi to convert the input string to an int array_index. This limits the maximum addressable array size to ~2GB on most platforms. But all callers immediately convert the result of array_index to BasicJsonType::size_type. So let's parse it as unsigned long long, which allows us to have as big arrays as available memory. And also makes the call sites nicer to read. One complication arises on platforms where size_type is smaller than unsigned long long. We need to bail out on these if the parsed array index does not fit into size_type.
-
Niels Lohmann authored
-
- 21 Jun, 2020 4 commits
-
-
Niels Lohmann authored
C++20 support by removing swap specialization
-
Niels Lohmann authored
-
-
Niels Lohmann authored
Add option to not rely on Internet connectivity during test stage
-
- 20 Jun, 2020 4 commits
-
-
Thomas Braun authored
Forgotten in dcd3a6c6 (move the catch of std::invalid_argument into array_index(), 2020-03-23).
-
Niels Lohmann authored
-
-
Niels Lohmann authored
Serialize floating-point numbers with 32 bit when possible (MessagePack)
-
- 19 Jun, 2020 2 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
- 18 Jun, 2020 1 commit
-
-
Niels Lohmann authored
-
- 17 Jun, 2020 8 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
chenguoping authored
-
chenguoping authored
-
Niels Lohmann authored
-
chenguoping authored
-
chenguoping authored
-
- 16 Jun, 2020 4 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
chenguoping authored
-
- 14 Jun, 2020 3 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
- 12 Jun, 2020 1 commit
-
-
Niels Lohmann authored
Improve parse_ubjson_fuzzer
-