KanoopCommonQt 2.1.1
Kanoop foundational Qt utility library
Loading...
Searching...
No Matches
IDeserializableFromJsonObject Class Referenceabstract

Interface for objects that can deserialize themselves from a QJsonObject. More...

#include <ideserializablefromjson.h>

Public Member Functions

virtual void deserializeFromJsonObject (const QJsonObject &jsonObject)=0
 Populate this object from a QJsonObject.
 

Detailed Description

Interface for objects that can deserialize themselves from a QJsonObject.

Definition at line 26 of file ideserializablefromjson.h.

Member Function Documentation

◆ deserializeFromJsonObject()

virtual void IDeserializableFromJsonObject::deserializeFromJsonObject ( const QJsonObject &  jsonObject)
pure virtual

Populate this object from a QJsonObject.

Parameters
jsonObjectParsed JSON object containing the data

Referenced by SerializableJsonList< T >::deserializeFromJsonArray().


The documentation for this class was generated from the following file: