Skip to content
Snippets Groups Projects
Commit c669ec5e authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Remove generating toJSON/fromJSON()

parent df20c54f
No related branches found
No related tags found
1 merge request!198Refactor/new arch armem
This commit is part of merge request !198. Comments created here will be created in the context of that merge request.
......@@ -64,6 +64,7 @@ namespace armarx::aron::codegenerator::cpp
}
// toJSON Method
/*
{
codegenerator::WriterInfo toJSON;
toJSON.methodName = "toJSON";
......@@ -72,6 +73,7 @@ namespace armarx::aron::codegenerator::cpp
toJSON.include = "<RobotAPI/libraries/aron/core/data/rw/writer/nlohmannJSON/NlohmannJSONWriter.h>";
dataWriters.push_back(toJSON);
}
*/
}
void Writer::addSpecificReaderMethods()
......@@ -87,6 +89,7 @@ namespace armarx::aron::codegenerator::cpp
}
// fromJSON Method
/*
{
codegenerator::ReaderInfo fromJSON;
fromJSON.methodName = "fromJSON";
......@@ -95,6 +98,7 @@ namespace armarx::aron::codegenerator::cpp
fromJSON.include = "<RobotAPI/libraries/aron/core/data/rw/reader/nlohmannJSON/NlohmannJSONReader.h>";
dataReaders.push_back(fromJSON);
}
*/
}
......
......@@ -179,7 +179,7 @@ void test_toAron(T& in, T& out)
}
}
#if 0
template <typename T>
void test_toJson(T& in, T& out)
{
......@@ -233,6 +233,7 @@ void test_toJson(T& in, T& out)
BOOST_CHECK(in_aron_json_str == out_aron_json_str);
}
}
#endif
template <typename T>
......@@ -241,7 +242,9 @@ void runTestWithInstances(T& in, T& out)
// assumes not nullptrs as in and out. If you have a maybe type then make sure that it is set properly
test_toAronType(in, out);
test_toAron(in, out);
#if 0
test_toJson(in, out);
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment