28 #include "qabstractprotobufserializer.h"
29 #include "qtprotobufglobal.h"
33 namespace QtProtobuf {
34 class QProtobufJsonSerializerPrivate;
46 QByteArray serializeMessage(
const QObject *
object,
const QProtobufMetaObject &metaObject)
const override;
47 void deserializeMessage(QObject *
object,
const QProtobufMetaObject &metaObject,
const QByteArray &data)
const override;
49 QByteArray serializeObject(
const QObject *
object,
const QProtobufMetaObject &metaObject,
const QProtobufMetaProperty &metaProperty)
const override;
53 QByteArray serializeListObject(
const QObject *
object,
const QProtobufMetaObject &metaObject,
const QProtobufMetaProperty &metaProperty)
const override;
54 QByteArray serializeListEnd(QByteArray &buffer,
const QProtobufMetaProperty &metaProperty)
const override;
56 bool deserializeListObject(QObject *
object,
const QProtobufMetaObject &metaObject,
QProtobufSelfcheckIterator &it)
const override;
59 QByteArray serializeMapPair(
const QVariant &key,
const QVariant &value,
const QProtobufMetaProperty &metaProperty)
const override;
60 QByteArray serializeMapEnd(QByteArray &buffer,
const QProtobufMetaProperty &metaProperty)
const override;
70 std::unique_ptr<QProtobufJsonSerializerPrivate> dPtr;
The QAbstractProtobufSerializer class is interface that represents basic functions for serialization/...
Definition: qabstractprotobufserializer.h:72
The QProtobufJsonSerializer class.
Definition: qprotobufjsonserializer.h:40
The QProtobufSelfcheckIterator class.
Definition: qprotobufselfcheckiterator.h:40