#ifndef QTJSONSERIALIZER_GLOBAL_H
#define QTJSONSERIALIZER_GLOBAL_H

#include <QtCore/qglobal.h>

// #ifndef QT_STATIC
// #  if defined(QT_BUILD_JSONSERIALIZER_LIB)
// #    define Q_JSONSERIALIZER_EXPORT Q_DECL_EXPORT
// #  else
// #    define Q_JSONSERIALIZER_EXPORT Q_DECL_IMPORT
// #  endif
// #else
// #  define Q_JSONSERIALIZER_EXPORT
// #endif

#define Q_JSONSERIALIZER_EXPORT

namespace QtJsonSerializer {

//! Method to register all type converters for basic Qt types
Q_JSONSERIALIZER_EXPORT void registerTypes();

#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#define QMetaTypeName(X) QMetaType::typeName(X)
#else
#define QMetaTypeName(X) QMetaType(X).name()
#endif

}

//! @file qtjsonserializer_global.h The QtJsonSerializer library header file
#endif // QTJSONSERIALIZER_GLOBAL_H
