Ref T237, JSON functions

* container file JSON function automatically detecting JSON format (swift, cache, DB)
* utility functions
This commit is contained in:
Klaus Basan
2018-01-30 06:30:39 +01:00
parent deddf7c957
commit 28b5ec9ec6
6 changed files with 55 additions and 5 deletions

View File

@@ -147,7 +147,7 @@ namespace BlackMisc
//! Assign from JSON object string
void convertFromJson(const QString &jsonString)
{
this->convertFromJson(BlackMisc::Json::jsonObjectFromString(jsonString));
this->convertFromJson(Json::jsonObjectFromString(jsonString));
}
//! Call convertFromJson, catch any CJsonException that is thrown and return it as CStatusMessage.