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

Method toJsonBytes

app/src/API/MCPProtocol.h:118–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116 }
117
118 QByteArray toJsonBytes() const
119 {
120 return QJsonDocument(toJson()).toJson(QJsonDocument::Compact) + "\n";
121 }
122
123 static MCPResponse makeSuccess(const QVariant& id, const QJsonValue& result)
124 {

Callers 9

processMessageMethod · 0.45
processMessageMethod · 0.45
handleAuthHandshakeMethod · 0.45
disconnectClientMethod · 0.45
validateJsonMessageMethod · 0.45
handleJsonMessageMethod · 0.45
processRawJsonCommandMethod · 0.45
processBufferedJsonMethod · 0.45
processRawLineMethod · 0.45

Calls 2

toJsonFunction · 0.85
toJsonMethod · 0.45

Tested by

no test coverage detected