#pragma once #include "src/ground-atlas.hpp" #include namespace floormat { struct ground_info; } // namespace floormat namespace nlohmann { template<> struct adl_serializer final { static void to_json(json& j, const floormat::ground_def& x); static void from_json(const json& j, floormat::ground_def& x); }; template<> struct adl_serializer> final { static void to_json(json& j, const std::shared_ptr& x); static void from_json(const json& j, std::shared_ptr& x); }; } // namespace nlohmann