5 #include <Quotient/csapi/definitions/key_backup_data.h>
7 #include <Quotient/converters.h>
13 QHash<QString, KeyBackupData> sessions;
17 struct JsonObjectConverter<RoomKeyBackup> {
18 static void dumpTo(QJsonObject& jo,
const RoomKeyBackup& pod)
20 addParam<>(jo,
"sessions"_L1, pod.sessions);
22 static void fillFrom(
const QJsonObject& jo, RoomKeyBackup& pod)
24 fillFromJson(jo.value(
"sessions"_L1), pod.sessions);