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