MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / toJsonBytes

Method toJsonBytes

app/src/API/CommandProtocol.h:124–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 }
123
124 QByteArray toJsonBytes() const
125 {
126 return QJsonDocument(toJson()).toJson(QJsonDocument::Compact) + "\n";
127 }
128
129 static CommandResponse makeSuccess(const QString& id, const QJsonObject& result = QJsonObject())
130 {

Callers

nothing calls this directly

Calls 2

toJsonFunction · 0.85
toJsonMethod · 0.45

Tested by

no test coverage detected