json_conversions.h
Go to the documentation of this file.
1#pragma once
2
3#include <SimoxUtility/json/json.h>
4
6
7namespace armarx
8{
9 void to_json(simox::json::json& j, const ObjectID& value);
10 void from_json(const simox::json::json& j, ObjectID& value);
11} // namespace armarx
12
13namespace armarx::objpose
14{
15 void to_json(simox::json::json& j, const ObjectPose& op);
16 void from_json(const simox::json::json& j, ObjectPose& op);
17} // namespace armarx::objpose
18
19namespace armarx::objects
20{
21 void to_json(simox::json::json& j, const SceneObject& rhs);
22 void from_json(const simox::json::json& j, SceneObject& rhs);
23
24 void to_json(simox::json::json& j, const Scene& rhs);
25 void from_json(const simox::json::json& j, Scene& rhs);
26} // namespace armarx::objects
A known object ID of the form "Dataset/ClassName" or "Dataset/ClassName/InstanceName".
Definition ObjectID.h:11
void to_json(simox::json::json &j, const SceneObject &rhs)
void from_json(const simox::json::json &j, SceneObject &rhs)
void to_json(simox::json::json &j, const ObjectPose &op)
void from_json(const simox::json::json &j, ObjectPose &op)
This file offers overloads of toIce() and fromIce() functions for STL container types.
void from_json(const nlohmann::json &j, Vector2f &value)
void to_json(nlohmann::json &j, const Vector2f &value)
An object pose as stored by the ObjectPoseStorage.
Definition ObjectPose.h:34