Niels Lohmann
Niels Lohmann
Thanks for the quick response! About the non-standard issue: I think it's not about the constructor of `std::exception`, but rather about the behavior of the derived classes like `runtime_error(const char*...
Please run `make amalgamate` with Astyle (http://astyle.sourceforge.net) 3.1 installed.
The exception could come from the conversion of `std::u8string` to JSON. As `std::u8string` is not supported, the string is treated like a sequence of bytes and converted to an array.
The behavior is documented here: https://json.nlohmann.me/features/element_access/unchecked_access/ You may consider it inconsistent, but it is the same since version 1.0.0 of the library. Changing it now would break existing code which...
Thanks for reporting. This project is currently unmaintained in favor of https://github.com/nlohmann/json/blob/develop/include/nlohmann/ordered_map.hpp which has the same functionality.
I am also hesitant: it seems to fix a problem we don't have.
Can you please rebase to the develop branch? I'll check this then.
I can confirm the issue.
It was closed before I had the chance.
🥳 Green CI! I will try to review this in the next week.