-
Notifications
You must be signed in to change notification settings - Fork 27
CJsonPacketParser
Takashiro edited this page Aug 20, 2015
·
2 revisions
The CJsonPacketParser inherits CAbstractPacketParser and defines a packet parser that converts structural data, i.e, CPacket into JSON string representations and vice versa.
CJsonPacketParser();
virtual ~CJsonPacketParser();
virtual CPacket parse(const QByteArray &data);
virtual QByteArray parse(const CPacket &packet);
Create a new JSON packet parser.
Destroys a JSON packet parser.
Converts a JSON string representation into a CPacket.
Converts a CPacket into a JSON string representation.