8#ifndef GALAXY_FS_SERIALIZABLE_HPP_
9#define GALAXY_FS_SERIALIZABLE_HPP_
11#include <nlohmann/json_fwd.hpp>
Allows a class to be serialized.
virtual ~Serializable()
Destructor.
Serializable()
Constructor.
virtual void deserialize(const nlohmann::json &json)=0
Deserializes from object.
virtual Serializable & operator=(Serializable &&)=default
Move assignment operator.
virtual Serializable & operator=(const Serializable &)=default
Copy assignment operator.
virtual nlohmann::json serialize()=0
Serializes object.