QxOrm 1.4.9
C++ Object Relational Mapping library
Loading...
Searching...
No Matches

Provide a generic Qt QJson serialization method (save/load) for classes registered into QxOrm context (void qx::register_class<MyClass>() function), it is possible to specialize qx::cvt::detail::QxSerializeJsonRegistered<T> template to implement your own serialization method for a specific class. More...

#include <QtCore/qjsonvalue.h>
#include <QtCore/qjsonobject.h>
#include <QtCore/qjsonarray.h>
#include <QxTraits/is_qx_registered.h>
#include <QxRegister/IxClass.h>
#include <QxRegister/QxClass.h>

Go to the source code of this file.

Classes

struct  qx::cvt::detail::QxSerializeJsonRegistered_Helper
 
struct  qx::cvt::detail::QxSerializeJsonRegistered< T >
 

Namespaces

namespace  qx
 Root namespace for all QxOrm library features.
 
namespace  qx::cvt
 Provide global functions to convert any kind of objects to/from QString and QVariant format.
 
namespace  qx::cvt::detail
 Internal helper tools for qx::cvt namespace.
 

Macros

#define QX_JSON_SERIALIZE_ONLY_ID   "QX_JSON_SERIALIZE_ONLY_ID"
 

Detailed Description

Provide a generic Qt QJson serialization method (save/load) for classes registered into QxOrm context (void qx::register_class<MyClass>() function), it is possible to specialize qx::cvt::detail::QxSerializeJsonRegistered<T> template to implement your own serialization method for a specific class.

Author
Lionel Marty

Definition in file QxSerializeQJson_qx_registered_class.h.

Macro Definition Documentation

◆ QX_JSON_SERIALIZE_ONLY_ID

#define QX_JSON_SERIALIZE_ONLY_ID   "QX_JSON_SERIALIZE_ONLY_ID"

Definition at line 92 of file QxSerializeQJson_qx_registered_class.h.