#pragma once #include namespace floormat { struct chunk_coords; struct global_coords; struct chunk; struct world; } // namespace floormat namespace nlohmann { 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); }; template<> struct adl_serializer { static void to_json(json& j, const floormat::world& val); static void from_json(const json& j, floormat::world& val); }; } // namespace nlohmann