Niels Lohmann

Results 421 comments of Niels Lohmann

@QuellaZhang Just so I understand: the code does compile with previous versions of MSVC, but fails to do so with a newer version unless `/permisisve-` is used?

Using the `to_json` does not work, because the keys only need to be converted to object keys, but not `basic_json`. We use this code to determine if a type can...

Strange. It's this test: ```cpp #ifdef JSON_HAS_CPP_17 #if JSON_HAS_FILESYSTEM || JSON_HAS_EXPERIMENTAL_FILESYSTEM TEST_CASE("std::filesystem::path") { SECTION("ascii") { json const j_string = "Path"; auto p = j_string.template get(); json const j_path = p;...

Strange. `test-conversions_cpp17` should be built with C++17, and since the test fails in line 1667, `JSON_HAS_CPP_17` should be set and `JSON_HAS_FILESYSTEM` or `JSON_HAS_EXPERIMENTAL_FILESYSTEM` is set.

Clang-Tidy fails due to an update. I have not found the time to look into it - probably just some exclusions needed.

> Clang-Tidy fails due to an update. I have not found the time to look into it - probably just some exclusions needed. Oh, I see there are indeed some...

🔴 CI is red due to unrelated issues, see https://github.com/nlohmann/json/issues/4869.