Nino.Serialization
4.0.0-beta.26
See the version list below for details.
dotnet add package Nino.Serialization --version 4.0.0-beta.26
NuGet\Install-Package Nino.Serialization -Version 4.0.0-beta.26
<PackageReference Include="Nino.Serialization" Version="4.0.0-beta.26" />
<PackageVersion Include="Nino.Serialization" Version="4.0.0-beta.26" />
<PackageReference Include="Nino.Serialization" />
paket add Nino.Serialization --version 4.0.0-beta.26
#r "nuget: Nino.Serialization, 4.0.0-beta.26"
#:package Nino.Serialization@4.0.0-beta.26
#addin nuget:?package=Nino.Serialization&version=4.0.0-beta.26&prerelease
#tool nuget:?package=Nino.Serialization&version=4.0.0-beta.26&prerelease
<div align="center">
Nino
Ultimate high-performance binary serialization library for C#
🌐 Official Website • 📚 Documentation • 🚀 Performance • 🇨🇳 中文
Fast, flexible, and effortless C# binary serialization
</div>
✨ Why Choose Nino?
<table> <tr> <td width="25%" align="center"> <h3>🔧 Seamless Integration</h3> <p>Leverages C# Source Generators for automatic compile-time code generation. Zero manual setup required.</p> </td> <td width="25%" align="center"> <h3>⚡ Blazing Performance</h3> <p>Engineered for high-throughput, low-latency scenarios with minimal GC pressure and memory allocation.</p> </td> <td width="25%" align="center"> <h3>🎮 Unity Compatible</h3> <p>Works seamlessly with Unity projects and native Unity data types like Vector3 and Quaternion.</p> </td> <td width="25%" align="center"> <h3>🛠️ Advanced Features</h3> <p>Handles complex scenarios like polymorphism, versioning, custom constructors, and private member serialization.</p> </td> </tr> </table>
🎯 Core Features
🚀 Performance & Reliability
- High-Speed Serialization: Consistently ranks among the fastest C# binary serializers
- Low Memory Footprint: Minimal GC pressure and memory allocation
- By-Reference Deserialization: Deserialize directly into existing objects to eliminate allocation overhead
- Thread-Safe Operations: Fully concurrent serialization/deserialization without external locking
- Data Integrity: Built-in type checking ensures data consistency
🧩 Comprehensive Type Support
- Primitives & Built-ins: Full support for all C# primitive types (
int,float,DateTime, etc.) - Modern C# Features:
records,record structs,structs,classes, and generics - Collections: Any
IEnumerable<T>includingList<T>,Dictionary<TKey,TValue>,HashSet<T>,ConcurrentDictionary<TKey,TValue> - Advanced Generics: Complex nested types like
Dictionary<string, List<CustomType[]>> - Value Types:
ValueTuple,Tuple,KeyValuePair<TKey,TValue>,Nullable<T>
🎮 Unity & Cross-Platform
- Unity Native Types:
Vector3,Quaternion,Matrix4x4, and other Unity-specific data types - Cross-Assembly Support: Serialize types across different .NET assemblies and projects
- Platform Agnostic: Works seamlessly across different .NET implementations
⚙️ Advanced Control
- Polymorphism: Interface and abstract class serialization with type preservation
- Custom Constructors:
[NinoConstructor]for immutable types and factory patterns - Versioning & Migration:
[NinoMember]ordering and[NinoFormerName]for backward compatibility - Privacy Control:
[NinoType(true)]to include private/protected members - Selective Serialization:
[NinoIgnore]to exclude specific fields - String Optimization:
[NinoUtf8]for efficient UTF-8 string handling
📖 Quick Start
Installation
Standard .NET Projects:
dotnet add package Nino
Unity Projects (via OpenUPM):
openupm add com.jasonxudeveloper.nino
Basic Usage
[NinoType]
public class GameData
{
public int Score;
public string PlayerName;
public DateTime LastPlayed;
}
// Serialize
var data = new GameData { Score = 1000, PlayerName = "Player1", LastPlayed = DateTime.Now };
byte[] bytes = NinoSerializer.Serialize(data);
// Deserialize
var restored = NinoDeserializer.Deserialize<GameData>(bytes);
📊 Performance
Nino consistently delivers exceptional performance across various scenarios. See detailed benchmarks and comparisons with other popular serialization libraries.
🤝 Community & Support
<div align="center">
🐛 Report Issues • 💡 Feature Requests • 🔀 Contribute
</div>
<div align="center">
Made with ❤️ by JasonXuDeveloper
Licensed under MIT License
</div>
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- System.Buffers (>= 4.6.0)
- System.Memory (>= 4.6.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.0)
-
net6.0
- System.Buffers (>= 4.6.0)
- System.Memory (>= 4.6.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.0)
-
net8.0
- System.Buffers (>= 4.6.0)
- System.Memory (>= 4.6.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Nino.Serialization:
| Package | Downloads |
|---|---|
|
Nino
High performance and low size binary serialization solution, especially for Unity. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.0-beta.43 | 354 | 11/19/2025 |
| 4.0.0-beta.42 | 203 | 11/14/2025 |
| 4.0.0-beta.40 | 145 | 11/4/2025 |
| 4.0.0-beta.38 | 140 | 10/29/2025 |
| 4.0.0-beta.37 | 131 | 10/28/2025 |
| 4.0.0-beta.36 | 58 | 10/25/2025 |
| 4.0.0-beta.35 | 203 | 10/15/2025 |
| 4.0.0-beta.34 | 128 | 10/14/2025 |
| 4.0.0-beta.33 | 68 | 10/12/2025 |
| 4.0.0-beta.32 | 64 | 10/11/2025 |
| 4.0.0-beta.31 | 61 | 10/11/2025 |
| 4.0.0-beta.30 | 62 | 10/11/2025 |
| 4.0.0-beta.29 | 63 | 10/11/2025 |
| 4.0.0-beta.28 | 45 | 10/11/2025 |
| 4.0.0-beta.27 | 100 | 10/10/2025 |
| 4.0.0-beta.26 | 108 | 10/10/2025 |
| 4.0.0-beta.25 | 120 | 10/9/2025 |
| 4.0.0-beta.24 | 129 | 10/6/2025 |
| 4.0.0-beta.23 | 124 | 10/6/2025 |
| 4.0.0-beta.22 | 124 | 10/6/2025 |
| 4.0.0-beta.20 | 131 | 10/6/2025 |
| 4.0.0-beta.19 | 116 | 10/5/2025 |
| 4.0.0-beta.18 | 117 | 10/5/2025 |
| 4.0.0-beta.17 | 113 | 10/5/2025 |
| 4.0.0-beta.16 | 115 | 10/5/2025 |
| 4.0.0-beta.15 | 147 | 8/18/2025 |
| 4.0.0-beta.14 | 175 | 8/16/2025 |
| 4.0.0-beta.13 | 51 | 8/16/2025 |
| 4.0.0-beta.11 | 132 | 8/14/2025 |
| 4.0.0-beta.10 | 257 | 8/6/2025 |
| 4.0.0-beta.8 | 205 | 8/5/2025 |
| 4.0.0-beta.6 | 203 | 8/5/2025 |
| 4.0.0-beta.5 | 210 | 8/5/2025 |
| 4.0.0-beta.4 | 186 | 8/4/2025 |
| 4.0.0-beta.2 | 57 | 8/3/2025 |
| 4.0.0-beta.1 | 27 | 8/2/2025 |
| 4.0.0-alpha.19 | 30 | 8/2/2025 |
| 4.0.0-alpha.18 | 29 | 8/2/2025 |
| 4.0.0-alpha.17 | 27 | 8/2/2025 |
| 4.0.0-alpha.16 | 33 | 8/2/2025 |
| 4.0.0-alpha.14 | 30 | 8/2/2025 |
| 4.0.0-alpha.13 | 28 | 8/2/2025 |
| 4.0.0-alpha.12 | 29 | 8/2/2025 |
| 4.0.0-alpha.11 | 27 | 8/2/2025 |
| 4.0.0-alpha.10 | 27 | 8/2/2025 |
| 4.0.0-alpha.8 | 29 | 8/2/2025 |
| 4.0.0-alpha.7 | 32 | 8/2/2025 |
| 4.0.0-alpha.6 | 28 | 8/2/2025 |
| 3.9.17 | 206 | 7/30/2025 |
| 3.9.16 | 157 | 7/30/2025 |
| 3.9.15 | 158 | 7/29/2025 |
| 3.9.14 | 173 | 7/28/2025 |
| 3.9.13 | 164 | 7/28/2025 |
| 3.9.12 | 172 | 7/27/2025 |
| 3.9.11 | 150 | 7/27/2025 |
| 3.9.10 | 154 | 7/27/2025 |
| 3.9.9 | 155 | 7/27/2025 |
| 3.9.8 | 259 | 7/26/2025 |
| 3.9.7 | 516 | 7/24/2025 |
| 3.9.6 | 529 | 7/24/2025 |
| 3.9.5 | 600 | 7/23/2025 |
| 3.9.4 | 600 | 7/23/2025 |
| 3.9.3 | 579 | 7/23/2025 |
| 3.9.2 | 601 | 7/22/2025 |
| 3.9.1 | 604 | 7/22/2025 |
| 3.9.0 | 566 | 7/21/2025 |
| 3.3.13 | 327 | 6/3/2025 |
| 3.3.12 | 215 | 6/3/2025 |
| 3.3.11 | 215 | 6/3/2025 |
| 3.3.10 | 219 | 6/2/2025 |
| 3.3.9 | 203 | 5/23/2025 |
| 3.3.8 | 212 | 4/12/2025 |
| 3.3.7 | 280 | 4/7/2025 |
| 3.3.6 | 177 | 4/5/2025 |
| 3.3.5 | 561 | 3/26/2025 |
| 3.3.4 | 567 | 3/26/2025 |
| 3.3.3 | 564 | 3/26/2025 |
| 3.3.2 | 253 | 3/21/2025 |
| 3.3.1 | 193 | 3/20/2025 |
| 3.3.0 | 282 | 3/9/2025 |
| 3.2.13 | 278 | 3/9/2025 |
| 3.2.12 | 262 | 3/9/2025 |
| 3.2.11 | 236 | 3/9/2025 |
| 3.2.10 | 241 | 3/9/2025 |
| 3.2.9 | 368 | 3/5/2025 |
| 3.2.8 | 313 | 3/5/2025 |
| 3.2.7 | 298 | 3/4/2025 |
| 3.2.6 | 292 | 3/4/2025 |
| 3.2.5 | 246 | 3/3/2025 |
| 3.2.4 | 245 | 3/3/2025 |
| 3.2.3 | 199 | 2/25/2025 |
| 3.2.2 | 193 | 2/25/2025 |
| 3.2.1 | 206 | 2/24/2025 |
| 3.2.0 | 199 | 2/22/2025 |
| 3.1.7 | 203 | 2/21/2025 |
| 3.1.6 | 188 | 2/20/2025 |
| 3.1.5 | 209 | 2/20/2025 |
| 3.1.4 | 251 | 2/18/2025 |
| 3.1.3 | 204 | 2/18/2025 |
| 3.1.2 | 184 | 2/15/2025 |
| 3.1.1 | 225 | 2/3/2025 |
| 3.1.0 | 201 | 1/19/2025 |
| 3.0.9 | 184 | 1/19/2025 |
| 3.0.8 | 182 | 1/13/2025 |
| 3.0.7 | 221 | 1/5/2025 |
| 3.0.6 | 197 | 1/5/2025 |
| 3.0.5 | 226 | 11/17/2024 |
| 3.0.4 | 217 | 11/16/2024 |
| 3.0.3 | 224 | 11/15/2024 |
| 3.0.2 | 192 | 11/15/2024 |
| 3.0.1 | 215 | 11/13/2024 |
| 3.0.0 | 220 | 11/12/2024 |
| 2.2.1 | 219 | 11/11/2024 |
| 2.2.0 | 217 | 11/11/2024 |
| 2.1.9 | 242 | 11/11/2024 |
| 2.1.8 | 219 | 11/10/2024 |
| 2.1.7 | 207 | 11/9/2024 |
| 2.1.6 | 209 | 11/7/2024 |
| 2.1.5 | 210 | 11/2/2024 |
| 2.1.4 | 206 | 11/1/2024 |
| 2.1.3 | 191 | 10/31/2024 |
| 2.1.2 | 207 | 10/28/2024 |
| 2.1.1 | 196 | 10/28/2024 |
| 2.1.0 | 229 | 10/27/2024 |
| 2.0.9 | 202 | 10/21/2024 |
| 2.0.8 | 247 | 9/17/2024 |
| 2.0.7 | 223 | 9/16/2024 |
| 2.0.6 | 217 | 9/15/2024 |
| 2.0.5 | 213 | 7/24/2024 |
| 2.0.4 | 207 | 7/18/2024 |
| 2.0.3 | 203 | 7/8/2024 |
| 2.0.2 | 201 | 7/8/2024 |
| 2.0.1 | 241 | 7/3/2024 |
| 2.0.0.2 | 306 | 7/2/2024 |
| 2.0.0.1 | 343 | 7/2/2024 |
| 2.0.0 | 165 | 7/2/2024 |
| 2.0.0-official | 241 | 7/2/2024 |
| 1.2.2 | 337 | 10/18/2023 |
| 1.2.1 | 370 | 7/12/2023 |
| 1.2.0 | 195 | 7/11/2023 |
| 1.1.2.1 | 377 | 2/10/2023 |
| 1.1.2 | 360 | 2/9/2023 |
| 1.1.1 | 350 | 2/7/2023 |
| 1.1.0 | 525 | 1/21/2023 |
| 1.0.21.2 | 367 | 1/7/2023 |
| 1.0.21 | 398 | 1/7/2023 |
| 1.0.20 | 394 | 12/11/2022 |
| 1.0.19.2 | 480 | 10/30/2022 |
| 1.0.19 | 446 | 10/30/2022 |
| 1.0.18 | 494 | 10/24/2022 |
| 1.0.17 | 479 | 10/5/2022 |
| 1.0.16 | 469 | 8/15/2022 |
| 1.0.15 | 517 | 8/11/2022 |
| 1.0.14 | 527 | 8/7/2022 |
| 1.0.13 | 534 | 7/29/2022 |
| 1.0.12 | 519 | 7/27/2022 |
| 1.0.11 | 527 | 7/24/2022 |
| 1.0.10 | 541 | 7/20/2022 |
| 1.0.9 | 526 | 7/9/2022 |
| 1.0.8 | 517 | 7/4/2022 |
| 1.0.7 | 557 | 7/3/2022 |
| 1.0.6 | 541 | 7/2/2022 |
| 1.0.5 | 547 | 7/1/2022 |
| 1.0.4 | 555 | 7/1/2022 |
| 1.0.3 | 515 | 6/30/2022 |
| 1.0.2 | 513 | 6/30/2022 |
| 1.0.1 | 529 | 6/30/2022 |
| 1.0.0 | 519 | 6/30/2022 |