MIRA
Namespaces | Functions
BinaryJSONConverter.h File Reference

Direct conversion between binary and JSON serialized data (using metatype description) More...

#include <platform/Platform.h>
#include <serialization/MetaSerializer.h>
#include <json/JSON.h>
Include dependency graph for BinaryJSONConverter.h:

Go to the source code of this file.

Namespaces

 mira
 specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
 
 mira::BinaryJSONConverter
 

Functions

MIRA_BASE_EXPORT uint8 binaryToJSON (const Buffer< uint8 > &data, bool containsTypename, const TypeMeta &type, const MetaTypeDatabase &metadb, JSONValue &oObject)
 
MIRA_BASE_EXPORT void JSONToBinary (const JSONValue &iObject, const TypeMeta &type, const MetaTypeDatabase &metadb, Buffer< uint8 > &oData, bool includeTypename, int defaultVersion=-1)
 
MIRA_BASE_EXPORT void JSONToBinaryV1 (const JSONValue &iObject, const TypeMeta &type, const MetaTypeDatabase &metadb, Buffer< uint8 > &oData, bool includeTypename, int defaultVersion=-1)
 

Detailed Description

Direct conversion between binary and JSON serialized data (using metatype description)

Author
Erik Einhorn, Christof Schröter
Date
2012/10/29