mirror of
https://github.com/YACReader/yacreader
synced 2025-09-03 11:56:43 -04:00
Add more info to json content + better handling of optionality
This commit is contained in:
@ -12,11 +12,11 @@ public:
|
||||
static QString folderToYSFormat(const qulonglong libraryId, const Folder &folder);
|
||||
static QString comicToYSFormat(const qulonglong libraryId, const ComicDB &comic);
|
||||
|
||||
static QJsonObject folderToJSON(const qulonglong libraryId, const Folder &folder);
|
||||
static QJsonObject comicToJSON(const qulonglong libraryId, const ComicDB &comic);
|
||||
static QJsonObject fullComicToJSON(const qulonglong libraryId, const ComicDB &comic);
|
||||
static QJsonObject readingListToJSON(const qulonglong libraryId, const ReadingList &readingList);
|
||||
static QJsonObject labelToJSON(const qulonglong libraryId, const Label &label);
|
||||
static QJsonObject folderToJSON(const qulonglong libraryId, const QUuid libraryUuid, const Folder &folder);
|
||||
static QJsonObject comicToJSON(const qulonglong libraryId, const QUuid libraryUuid, const ComicDB &comic);
|
||||
static QJsonObject fullComicToJSON(const qulonglong libraryId, const QUuid libraryUuid, const ComicDB &comic);
|
||||
static QJsonObject readingListToJSON(const qulonglong libraryId, const QUuid libraryUuid, const ReadingList &readingList);
|
||||
static QJsonObject labelToJSON(const qulonglong libraryId, const QUuid libraryUuid, const Label &label);
|
||||
|
||||
private:
|
||||
YACReaderServerDataHelper();
|
||||
|
Reference in New Issue
Block a user