47 #ifndef _MIRA_BINARYJSONCONVERTER_H_ 48 #define _MIRA_BINARYJSONCONVERTER_H_ 60 namespace BinaryJSONConverter {
67 bool includeTypename,
int defaultVersion = -1);
73 bool includeTypename,
int defaultVersion = -1);
MIRA_BASE_EXPORT uint8 binaryToJSON(const Buffer< uint8 > &data, bool containsTypename, const TypeMeta &type, const MetaTypeDatabase &metadb, JSONValue &oObject)
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
MIRA_BASE_EXPORT void JSONToBinaryV1(const JSONValue &iObject, const TypeMeta &type, const MetaTypeDatabase &metadb, Buffer< uint8 > &oData, bool includeTypename, int defaultVersion=-1)
PropertyHint type(const std::string &t)
Sets the attribute "type" to the specified value.
Definition: PropertyHint.h:295
json::Value JSONValue
Imports the json::Value type into mira namespace.
Definition: JSON.h:363
MIRA_BASE_EXPORT void JSONToBinary(const JSONValue &iObject, const TypeMeta &type, const MetaTypeDatabase &metadb, Buffer< uint8 > &oData, bool includeTypename, int defaultVersion=-1)