Nino
A binary serialization tool that generates code for C# types and writes the same bytes across runtimes.
What does it do?
When developers declare the types to serialize, Nino generates the required code. It can also restore a value declared as a base type to its actual runtime type during deserialization. It writes the same data as the same bytes in .NET, Unity, Godot, and HybridCLR. Optional packages can generate type code for TypeScript, Go, and Rust after a build or connect it to ASP.NET Core request bodies and responses. Because v4 is a prerelease, installation requires the --prerelease option, and its binary format is incompatible with v3.
Key features
- Generates binary serialization code for C# types through source generation.
- Restores values declared as a base type to their actual runtime type during deserialization.
- Writes the same bytes in .NET, Unity, Godot, and HybridCLR.
- An optional package generates type code for TypeScript, Go, and Rust after a build.
- An optional package supports ASP.NET Core MVC formatters and request bodies and responses in Minimal API.