Fixes #1279 bttv global V3

This commit is contained in:
fourtf
2019-09-03 23:32:22 +02:00
parent 69aa5db2be
commit 9ee286f60f
4 changed files with 30 additions and 17 deletions
+6
View File
@@ -10,7 +10,13 @@ class NetworkResult
public:
NetworkResult(const QByteArray &data);
/// Parses the result as json and returns the root as an object.
/// Returns empty object if parsing failed.
QJsonObject parseJson() const;
/// Parses the result as json and returns the root as an array.
/// Returns empty object if parsing failed.
QJsonArray parseJsonArray() const;
/// Parses the result as json and returns the document.
rapidjson::Document parseRapidJson() const;
const QByteArray &getData() const;