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. It inherits from peak.common.serialization.IDeserializer and implements the deserialization operations.
using var file = new FileStream("archive.json", FileMode.Open);
var archive = deserializer.
Read(file);
var id = archive.GetInt64("id");
var name = archive.GetString("name");
Deserializer for reading serialized data and converting it into an IArchive object.
Definition peak_icv_deserializer.hpp:60
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.
Definition peak_icv_deserializer.hpp:80
Definition peak_icv_calibration_parameters.hpp:21
- See also
- IDSImaging.Peak.Common.Serialization.IDeserializer, IDSImaging.Peak.Common.Serialization.IArchive, SerializationType
- Since
- IDSImaging.Peak.ICV 1.3