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
qjsonwriter.cpp File Reference

(cd4813a3c304a6d9d5d8096d91a8fc297818d624)

#include <cmath>
#include <qlocale.h>
#include "qjsonwriter_p.h"
#include "qjson_p.h"
#include "private/qstringconverter_p.h"
#include <private/qnumeric_p.h>
#include <private/qcborvalue_p.h>
Include dependency graph for qjsonwriter.cpp:

Go to the source code of this file.

Functions

static void objectContentToJson (const QCborContainerPrivate *o, QByteArray &json, int indent, bool compact)
static void arrayContentToJson (const QCborContainerPrivate *a, QByteArray &json, int indent, bool compact)
static uchar hexdig (uint u)
static QByteArray escapedString (QStringView s)
static void valueContentToJson (const QCborValue &v, QByteArray &json, int indent, bool compact)

Function Documentation

◆ arrayContentToJson()

void arrayContentToJson ( const QCborContainerPrivate * a,
QByteArray & json,
int indent,
bool compact )
static

Definition at line 143 of file qjsonwriter.cpp.

◆ escapedString()

QByteArray escapedString ( QStringView s)
static

Definition at line 26 of file qjsonwriter.cpp.

◆ hexdig()

uchar hexdig ( uint u)
inlinestatic

Definition at line 21 of file qjsonwriter.cpp.

◆ objectContentToJson()

void objectContentToJson ( const QCborContainerPrivate * o,
QByteArray & json,
int indent,
bool compact )
static

Definition at line 166 of file qjsonwriter.cpp.

◆ valueContentToJson()

void valueContentToJson ( const QCborValue & v,
QByteArray & json,
int indent,
bool compact )
static

Definition at line 97 of file qjsonwriter.cpp.

References QJsonPrivate::Value::container().

Here is the call graph for this function: