Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QJsonPrivate::Variant Class Reference

#include <qjson_p.h>

+ Collaboration diagram for QJsonPrivate::Variant:

Static Public Member Functions

static QJsonObject toJsonObject (const QVariantMap &map)
 
static QJsonArray toJsonArray (const QVariantList &list)
 

Detailed Description

Definition at line 208 of file qjson_p.h.

Member Function Documentation

◆ toJsonArray()

QJsonArray QJsonPrivate::Variant::toJsonArray ( const QVariantList & list)
static

Definition at line 425 of file qjsoncbor.cpp.

References convertToJsonArray(), QCborArray::fromVariantList(), FromVariantToJson, and list.

Referenced by QJsonArray::fromVariantList().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ toJsonObject()

QJsonObject QJsonPrivate::Variant::toJsonObject ( const QVariantMap & map)
static

Definition at line 475 of file qjsoncbor.cpp.

References convertToJsonObject(), QCborMap::fromVariantMap(), FromVariantToJson, and map.

Referenced by QJsonObject::fromVariantMap().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: