7#include <SimoxUtility/json/json.hpp>
21 class JsonSimoxShapeSerializer
24 JsonSimoxShapeSerializer(
const memoryx::ObjectClassSegmentWrapper* classSegment =
nullptr);
26 void to_json(nlohmann::json& j,
const SimoxObjectShape&
object)
const;
27 void from_json(
const nlohmann::json& j, SimoxObjectShape&
object)
const;
38 static void registerSerializer(
const std::shared_ptr<JsonSimoxShapeSerializer>& instance,
39 bool overwrite =
false);
43 const memoryx::ObjectClassSegmentWrapper* classSegment =
nullptr;
void from_json(const nlohmann::json &j, PackagePath &pp)
void to_json(nlohmann::json &j, const PackagePath &pp)