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

Interfaces for serializing objects to JSON. More...

#include <iserializabletojson.h>

Public Member Functions

virtual QByteArray serializeToJson () const =0
 Serialize this object to a JSON byte array.
 

Detailed Description

Interfaces for serializing objects to JSON.

Interface for objects that can serialize themselves to a raw JSON byte array.

Definition at line 15 of file iserializabletojson.h.

Member Function Documentation

◆ serializeToJson()

virtual QByteArray ISerializableToJson::serializeToJson ( ) const
pure virtual

Serialize this object to a JSON byte array.

Returns
UTF-8 encoded JSON representation

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