Go to the documentation of this file.
6 #include <SimoxUtility/json/json.hpp>
18 const nlohmann::json&
getJSON();
47 std::stack<std::pair<std::string, nlohmann::json>> jsonStack;
49 template <
typename ElementType>
51 void insertNULLIntoJSON(
const std::string& key);
void visitLong(DataInput &elementData, TypeInput &elementType) override
void visitDictOnEnter(DataInput &elementData, TypeInput &elementType) override
void visitTupleOnExit(DataInput &elementData, TypeInput &elementType) override
void visitDictOnExit(DataInput &elementData, TypeInput &elementType) override
std::map< std::string, std::pair< DataInputNonConst, TypeInputNonConst > > MapElements
void visitObjectOnExit(DataInput &elementData, TypeInput &elementType) override
void visitImage(DataInput &elementData, TypeInput &elementType) override
MapElements getObjectElements(DataInput &elementData, TypeInput &elementType) override
void visitPointCloud(DataInput &elementData, TypeInput &elementType) override
void visitIntEnum(DataInput &elementData, TypeInput &elementType) override
typename TypedVisitorBase< const data::VariantPtr, const type::VariantPtr >::TypeInput TypeInput
void visitNDArray(DataInput &elementData, TypeInput &elementType) override
void visitPairOnExit(DataInput &elementData, TypeInput &elementType) override
void visitFloat(DataInput &elementData, TypeInput &elementType) override
void visitDouble(DataInput &elementData, TypeInput &elementType) override
void visitListOnEnter(DataInput &elementData, TypeInput &elementType) override
const nlohmann::json & getJSON()
void visitBool(DataInput &elementData, TypeInput &elementType) override
typename TypedVisitorBase< const data::VariantPtr, const type::VariantPtr >::DataInput DataInput
void visitInt(DataInput &elementData, TypeInput &elementType) override
~TreeTypedJSONConverter() override=default
void visitPairOnEnter(DataInput &elementData, TypeInput &elementType) override
void visitTupleOnEnter(DataInput &elementData, TypeInput &elementType) override
void visitObjectOnEnter(DataInput &elementData, TypeInput &elementType) override
void visitMatrix(DataInput &elementData, TypeInput &elementType) override
void visitListOnExit(DataInput &elementData, TypeInput &elementType) override
void visitQuaternion(DataInput &elementData, TypeInput &elementType) override
void visitString(DataInput &elementData, TypeInput &elementType) override