GroveEngine/include/grove/ISerializable.h
StillHammer e1cfa4513e Initial commit: Grove Engine core architecture
- Core interfaces for modular engine system
- Resource management and registry system
- Module system with sequential execution
- ImGui-based UI implementation
- Intra-process I/O communication
- Data tree structures for hierarchical data
- Serialization framework
- Task scheduler interface
- Debug engine implementation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-28 00:19:15 +08:00

17 lines
306 B
C++

#pragma once
#include <nlohmann/json.hpp>
using json = nlohmann::json;
namespace warfactory {
class ISerializable {
public:
virtual ~ISerializable() = default;
virtual json serialize() const = 0;
virtual void deserialize(const json& data) = 0;
};
} // namespace warfactory