Serializer for writing IArchive objects to an output stream.
This class converts an IArchive object into a specific serialization format and writes the result to a stream.
archive.SetInt64("id", 42);
archive.SetString("name", "example");
using var file = new FileStream("archive.json", FileMode.Create);
serializer.Write(archive, file);
A key-value store that implements the IArchive interface.
Definition Archive.cs:39
Serializer(SerializationType type=SerializationType.Json)
Constructs a Serializer with the specified serialization type.
Definition Serializer.cs:43
SerializationType
Enumeration of supported serialization formats.
Definition SerializationType.cs:19
- Since
- IDSImaging.Peak.ICV 1.3