#pragma once #include "src/scenery.hpp" #include #include namespace floormat { struct serialized_scenery; } namespace nlohmann { template<> struct adl_serializer { static void to_json(json& j, floormat::scenery_type val); static void from_json(const json& j, floormat::scenery_type& val); }; template<> struct adl_serializer { static void to_json(json& j, floormat::rotation val); static void from_json(const json& j, floormat::rotation& val); }; template<> struct adl_serializer { static void to_json(json& j, const floormat::scenery_proto& val); static void from_json(const json& j, floormat::scenery_proto& val); }; template<> struct adl_serializer { static void to_json(json& j, const floormat::serialized_scenery& val); static void from_json(const json& j, floormat::serialized_scenery& val); }; } // namespace nlohmann