#include <peak_icv/serialization/peak_icv_deserializer.hpp>

Public Member Functions | |
| std::shared_ptr< peak::common::serialization::IArchive > | Read (std::istream &stream) override |
| Reads serialized data from the specified stream and deserializes it into an archive. | |
Deserializer for reading serialized data and converting it into an IArchive object.
This class provides functionality to read data from a supported serialization format (currently, only JSON) and reconstruct it as an IArchive object.
Example
It inherits from peak::common::serialization::IDeserializer and implements the deserialization operations.
|
inlineoverridevirtual |
Reads serialized data from the specified stream and deserializes it into an archive.
| stream | The stream to read serialized data from. |
IArchive object containing the deserialized data.| NotSupportedException | The serialization type is not supported. |
| CorruptedException | The stream contains invalid or corrupted data. |
Implements IDeserializer.