Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qharmonyjsonconversions.h
Go to the documentation of this file.
1// Copyright (C) 2026 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QHARMONYJSONCONVERSIONS_H
5#define QHARMONYJSONCONVERSIONS_H
6
7#include <QtCore/qglobal.h>
8
9#if defined(Q_QDOC) || defined(Q_OS_HARMONY)
10
11#include <QtCore/qjsonobject.h>
12#include <napi/native_api.h>
13
14QT_BEGIN_NAMESPACE
15
16namespace QtHarmony {
17
18Q_CORE_EXPORT napi_value mapQJsonObjectToJsObject(napi_env env, const QJsonObject &jsonObject);
19Q_CORE_EXPORT QJsonObject mapJsObjectToQJsonObject(napi_env env, napi_value jsObject);
20
21}
22
23QT_END_NAMESPACE
24
25#endif // Q_QDOC || Q_OS_HARMONY
26
27#endif // QHARMONYJSONCONVERSIONS_H