#pragma once #include namespace floormat { struct tile_image_ref; struct local_coords; struct chunk_coords; struct global_coords; } // namespace floormat namespace nlohmann { template<> struct adl_serializer { static void to_json(json& j, const floormat::tile_image_ref& val); static void from_json(const json& j, floormat::tile_image_ref& val); }; template<> struct adl_serializer { static void to_json(json& j, const floormat::local_coords& val); static void from_json(const json& j, floormat::local_coords& val); }; template<> struct adl_serializer { static void to_json(json& j, const floormat::chunk_coords& val); static void from_json(const json& j, floormat::chunk_coords& val); }; template<> struct adl_serializer { static void to_json(json& j, const floormat::global_coords& val); static void from_json(const json& j, floormat::global_coords& val); }; } // namespace nlohmann