$darkmode
#include <memory>#include <nlohmann/json.hpp>Go to the source code of this file.
Classes | |
| struct | nlohmann::adl_serializer< std::unique_ptr< T > > |
| struct | nlohmann::adl_serializer< std::shared_ptr< T > > |
| struct | nlohmann::adl_serializer< std::weak_ptr< T > > |
This file contains specializations of nlohmann::adl_serializer for std types in order to provide serialization for third-party types.
This file contains specializations of nlohmann::adl_serializer for std types.
In order to provide serialization for third-party types, we need to either use their namespace or provide a specialization in that of nlohmann. It is illegal to define anything in the std namespace, so we are left no choice in this regard.