|
Enrollment 28.2.0
|
The serialization is used to transform internal classes into user defined output. More...
Classes | |
| class | Base64Strategy |
| It writes bytes represented as std::vector<uint8_t> as base64 coded string. More... | |
| class | JsonWriter |
| JSON implementation of Writer abstraction. More... | |
| class | Serializable |
| Interface that MUST be implemented by all classes those want to be serialized. More... | |
| class | BytesWriterStrategy |
| It is used by Writer class to modify bytes serialization algorithm. More... | |
| class | Writer |
| Provides interface for serialization of all classes. More... | |
The serialization is used to transform internal classes into user defined output.
The serialization is used to transform internal classes into user defined output.
The library serialize itself via Writer, Serializable and BytesWriterStrategy interfaces.
Interfaces Writer,BytesWriterStrategy are defined for client extension. When client needs own serialization then client implements Writer interface and provide it as Writer for library classes. When client needs to modify only bytes serialization, client implements BytesWriterStrategy interface and sets it into Writer. The library itself provides JSON implementation in class JsonWriter. Each class in library that can be serialized must inherit Serializable interface.