MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / toText

Function toText

launcher/Json.cpp:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58QByteArray toText(const QJsonObject &obj)
59{
60 return QJsonDocument(obj).toJson(QJsonDocument::Compact);
61}
62QByteArray toText(const QJsonArray &array)
63{
64 return QJsonDocument(array).toJson(QJsonDocument::Compact);

Callers 2

serializeMethod · 0.85
executeTaskMethod · 0.85

Calls 1

toJsonMethod · 0.80

Tested by

no test coverage detected