refs #784 CVariant can detect whether a value object supports memoized JSON and pick the appropriate methods to call.

This commit is contained in:
Mathew Sutcliffe
2016-10-25 22:43:35 +01:00
committed by Klaus Basan
parent 5d7289adb3
commit 72a5a0e670
5 changed files with 121 additions and 0 deletions

View File

@@ -277,6 +277,12 @@ namespace BlackMisc
//! \copydoc BlackMisc::Mixin::JsonByMetaClass::convertFromJson
void convertFromJson(const QJsonObject &json);
//! To compact JSON format.
QJsonObject toMemoizedJson() const;
//! From compact JSON format.
void convertFromMemoizedJson(const QJsonObject &json);
//! \copydoc BlackMisc::Mixin::DBusByMetaClass::marshallToDbus
void marshallToDbus(QDBusArgument &argument) const;