|
qTbot 0.2.123.6f57966
qTbot is base back end library for your c++ Qt projects.
|
The IJsonBasedObject class This is base interface for all json base objects. More...
#include <ijsonbasedobject.h>


Public Member Functions | |
| IJsonBasedObject () | |
| IJsonBasedObject default constructor. | |
| IJsonBasedObject (const QJsonObject &newRawJson) | |
| IJsonBasedObject constructs the object from a raw json value. | |
| const QJsonObject & | rawJson () const |
| rawJson Telegram uses a rest api with json objects. So all received messages are parsed into a json object. | |
| virtual void | setRawJson (const QJsonObject &newRawJson) |
| setRawJson This method sets a new raw json data of the object. | |
The IJsonBasedObject class This is base interface for all json base objects.
Definition at line 19 of file ijsonbasedobject.h.
| qTbot::IJsonBasedObject::IJsonBasedObject | ( | ) |
IJsonBasedObject default constructor.
Definition at line 12 of file ijsonbasedobject.cpp.

| qTbot::IJsonBasedObject::IJsonBasedObject | ( | const QJsonObject & | newRawJson | ) |
IJsonBasedObject constructs the object from a raw json value.
| newRawJson | This is the raw json data of the object. |
Definition at line 17 of file ijsonbasedobject.cpp.

| const QJsonObject & qTbot::IJsonBasedObject::rawJson | ( | ) | const |
rawJson Telegram uses a rest api with json objects. So all received messages are parsed into a json object.
Definition at line 21 of file ijsonbasedobject.cpp.
|
virtual |
setRawJson This method sets a new raw json data of the object.
| newRawJson | This is the new json data of the object. |
Definition at line 25 of file ijsonbasedobject.cpp.
