#pragma once #include "external/nlohmann/json.hpp" namespace FRG { struct ISaveable { virtual void save(nlohmann::json& out) const = 0; virtual void load(const nlohmann::json& in) = 0; virtual ~ISaveable() = default; }; } // namespace FRG