-
Notifications
You must be signed in to change notification settings - Fork 2
Home
David Taylor edited this page Jul 6, 2025
·
23 revisions
The HotChai.Serialization library provides a simple .NET interface to serialize and deserialize objects using a variety of formats.
- Simple and effective support for backward compatibility when adding new serialized object members.
- Stream-based API doesn't require the entire object to reside in memory.
- Supports a variety of serialization formats, including JSON, XML, Bencode, and PBON, with a single API.
- Supports transmitting objects between platforms (regardless of processor endianness, for example).
- Supports inspection of the underlying byte stream, which enables scenarios such as digital signing.
- Suitable for extending into higher-level abstractions, for example, a messaging protocol.
- Object Structure - An overview of the structure of a serialized object.
- Writing An Object - Serialize an object to a stream.
- Reading An Object - Deserialize an object from a stream.
- A Complete Example - A complete example of serializing and deserializing a .NET object.
- Supported Formats - Supported serialization formats.
- Building Your Project - How to use HotChai.Serialization in your Visual Studio project.