json schema added for checking incoming messages

This commit is contained in:
johan
2013-08-17 19:20:19 +02:00
parent 59e13a2b5f
commit b66c397a46
7 changed files with 158 additions and 10 deletions

View File

@@ -10,6 +10,9 @@
// jsoncpp includes
#include <json/json.h>
// util includes
#include <utils/jsonschema/JsonSchemaChecker.h>
class JsonClientConnection : public QObject
{
Q_OBJECT
@@ -35,5 +38,7 @@ private:
private:
QTcpSocket * _socket;
JsonSchemaChecker _schemaChecker;
QByteArray _receiveBuffer;
};