mehecip
Results
2
comments of
mehecip
Hi, thanks for the answer. So my only, naive, option is to implement this: ```c++ namespace std { void to_json(nlohmann::json& j, const std::map& m) { for (const auto& [key, value]...
> Since you aren't allowed to add things to the `std` namespace, you need to use the `adl_serializer` method instead: https://json.nlohmann.me/features/arbitrary_types/#how-do-i-convert-third-party-types Makes sense, thanks!