Added type role and column & refactored the JsonParser in the process.

This commit is contained in:
2026-03-01 10:59:34 +01:00
parent 1db5d9022a
commit becde8c794
5 changed files with 63 additions and 51 deletions

View File

@ -18,6 +18,7 @@ class JsonParser {
const QString& rootValueName = "");
static QByteArray itemValuesListToJson(const QList<ModelItemValues>& itemValuesList,
const QString& objectName = "");
static QJsonObject itemValuesToJsonObject(const ModelItemValues& itemValues);
private:
explicit JsonParser();