QtJsonSerializer  4.0.0
A library to perform generic seralization and deserialization of QObjects
Classes | Namespaces | Macros
serializerbase.h File Reference
#include "QtJsonSerializer/qtjsonserializer_global.h"
#include "QtJsonSerializer/exception.h"
#include "QtJsonSerializer/typeconverter.h"
#include "QtJsonSerializer/qtjsonserializer_helpertypes.h"
#include "QtJsonSerializer/metawriters.h"
#include "QtJsonSerializer/typeextractors.h"
#include <tuple>
#include <optional>
#include <variant>
#include <QtCore/qobject.h>
#include <QtCore/qmetaobject.h>
#include <QtCore/qcborvalue.h>
#include <QtCore/qvariant.h>
#include <QtCore/qsharedpointer.h>
#include <QtCore/qpointer.h>
#include <QtCore/qlist.h>
#include <QtCore/qlinkedlist.h>
#include <QtCore/qvector.h>
#include <QtCore/qset.h>
#include <QtCore/qqueue.h>
#include <QtCore/qstack.h>
#include <QtCore/qhash.h>
#include <QtCore/qmap.h>

Go to the source code of this file.

Classes

class  QtJsonSerializer::SerializerBase
 A base class for the CBOR/JSON serializers. More...
 

Namespaces

 QtJsonSerializer
 The QtJsonSerializer namespace holds all classes of the module.
 

Macros

#define Q_JSON_POLYMORPHIC(x)
 A macro the mark a class as polymorphic. More...
 

Detailed Description

The SerializerBase header file

Definition in file serializerbase.h.

Macro Definition Documentation

◆ Q_JSON_POLYMORPHIC

#define Q_JSON_POLYMORPHIC (   x)
Value:
static_assert(std::is_same<decltype(x), bool>::value, "x must be bool"); \
Q_CLASSINFO("polymorphic", #x)

A macro the mark a class as polymorphic.

Definition at line 233 of file serializerbase.h.