| 53 | |
| 54 | namespace Bits { |
| 55 | static void readString(const QJsonObject& root, const QString& key, QString& variable) |
| 56 | { |
| 57 | if (root.contains(key)) { |
| 58 | variable = requireString(root.value(key)); |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | static void readDownloadInfo(MojangDownloadInfo::Ptr out, const QJsonObject& obj) |
| 63 | { |
no test coverage detected