Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QJsonPrivate::Writer Class Reference

#include <qjsonwriter_p.h>

+ Collaboration diagram for QJsonPrivate::Writer:

Static Public Member Functions

static void objectToJson (const QCborContainerPrivate *o, QByteArray &json, int indent, bool compact=false)
 
static void arrayToJson (const QCborContainerPrivate *a, QByteArray &json, int indent, bool compact=false)
 

Detailed Description

Definition at line 26 of file qjsonwriter_p.h.

Member Function Documentation

◆ arrayToJson()

void Writer::arrayToJson ( const QCborContainerPrivate a,
QByteArray json,
int  indent,
bool  compact = false 
)
static

Definition at line 200 of file qjsonwriter.cpp.

References arrayContentToJson(), QByteArray::reserve(), and QByteArray::size().

Referenced by QJsonDocument::toJson().

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

◆ objectToJson()

void Writer::objectToJson ( const QCborContainerPrivate o,
QByteArray json,
int  indent,
bool  compact = false 
)
static

Definition at line 191 of file qjsonwriter.cpp.

References o, objectContentToJson(), QByteArray::reserve(), and QByteArray::size().

Referenced by QJsonDocument::toJson().

+ 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: