Nino.Serialization
3.9.17
See the version list below for details.
dotnet add package Nino.Serialization --version 3.9.17
NuGet\Install-Package Nino.Serialization -Version 3.9.17
<PackageReference Include="Nino.Serialization" Version="3.9.17" />
<PackageVersion Include="Nino.Serialization" Version="3.9.17" />
<PackageReference Include="Nino.Serialization" />
paket add Nino.Serialization --version 3.9.17
#r "nuget: Nino.Serialization, 3.9.17"
#:package Nino.Serialization@3.9.17
#addin nuget:?package=Nino.Serialization&version=3.9.17
#tool nuget:?package=Nino.Serialization&version=3.9.17
<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 (1)
Showing the top 1 popular GitHub repositories that depend on Nino.Serialization:
Repository | Stars |
---|---|
526077247/TaoTie
ๅบไบYooAsset่ตๆบ็ฎก็็่ฝป้็บงUnityๅบ็กๆกๆถ
|
Version | Downloads | Last Updated |
---|---|---|
4.0.0-beta.10 | 8 | 8/6/2025 |
4.0.0-beta.8 | 11 | 8/5/2025 |
4.0.0-beta.6 | 9 | 8/5/2025 |
4.0.0-beta.5 | 13 | 8/5/2025 |
4.0.0-beta.4 | 12 | 8/4/2025 |
4.0.0-beta.2 | 14 | 8/3/2025 |
4.0.0-beta.1 | 11 | 8/2/2025 |
4.0.0-alpha.19 | 10 | 8/2/2025 |
4.0.0-alpha.18 | 12 | 8/2/2025 |
4.0.0-alpha.17 | 10 | 8/2/2025 |
4.0.0-alpha.16 | 15 | 8/2/2025 |
4.0.0-alpha.14 | 11 | 8/2/2025 |
4.0.0-alpha.13 | 11 | 8/2/2025 |
4.0.0-alpha.12 | 11 | 8/2/2025 |
4.0.0-alpha.11 | 11 | 8/2/2025 |
4.0.0-alpha.10 | 12 | 8/2/2025 |
4.0.0-alpha.8 | 13 | 8/2/2025 |
4.0.0-alpha.7 | 14 | 8/2/2025 |
4.0.0-alpha.6 | 13 | 8/2/2025 |
3.9.17 | 92 | 7/30/2025 |
3.9.16 | 83 | 7/30/2025 |
3.9.15 | 89 | 7/29/2025 |
3.9.14 | 85 | 7/28/2025 |
3.9.13 | 85 | 7/28/2025 |
3.9.12 | 92 | 7/27/2025 |
3.9.11 | 60 | 7/27/2025 |
3.9.10 | 71 | 7/27/2025 |
3.9.9 | 78 | 7/27/2025 |
3.9.8 | 193 | 7/26/2025 |
3.9.7 | 435 | 7/24/2025 |
3.9.6 | 438 | 7/24/2025 |
3.9.5 | 481 | 7/23/2025 |
3.9.4 | 482 | 7/23/2025 |
3.9.3 | 483 | 7/23/2025 |
3.9.2 | 484 | 7/22/2025 |
3.9.1 | 477 | 7/22/2025 |
3.9.0 | 434 | 7/21/2025 |
3.3.13 | 256 | 6/3/2025 |
3.3.12 | 149 | 6/3/2025 |
3.3.11 | 157 | 6/3/2025 |
3.3.10 | 160 | 6/2/2025 |
3.3.9 | 147 | 5/23/2025 |
3.3.8 | 138 | 4/12/2025 |
3.3.7 | 219 | 4/7/2025 |
3.3.6 | 122 | 4/5/2025 |
3.3.5 | 496 | 3/26/2025 |
3.3.4 | 499 | 3/26/2025 |
3.3.3 | 495 | 3/26/2025 |
3.3.2 | 183 | 3/21/2025 |
3.3.1 | 155 | 3/20/2025 |
3.3.0 | 215 | 3/9/2025 |
3.2.13 | 212 | 3/9/2025 |
3.2.12 | 206 | 3/9/2025 |
3.2.11 | 170 | 3/9/2025 |
3.2.10 | 176 | 3/9/2025 |
3.2.9 | 296 | 3/5/2025 |
3.2.8 | 247 | 3/5/2025 |
3.2.7 | 240 | 3/4/2025 |
3.2.6 | 233 | 3/4/2025 |
3.2.5 | 190 | 3/3/2025 |
3.2.4 | 180 | 3/3/2025 |
3.2.3 | 153 | 2/25/2025 |
3.2.2 | 129 | 2/25/2025 |
3.2.1 | 138 | 2/24/2025 |
3.2.0 | 132 | 2/22/2025 |
3.1.7 | 135 | 2/21/2025 |
3.1.6 | 132 | 2/20/2025 |
3.1.5 | 142 | 2/20/2025 |
3.1.4 | 194 | 2/18/2025 |
3.1.3 | 146 | 2/18/2025 |
3.1.2 | 141 | 2/15/2025 |
3.1.1 | 159 | 2/3/2025 |
3.1.0 | 145 | 1/19/2025 |
3.0.9 | 128 | 1/19/2025 |
3.0.8 | 123 | 1/13/2025 |
3.0.7 | 153 | 1/5/2025 |
3.0.6 | 155 | 1/5/2025 |
3.0.5 | 161 | 11/17/2024 |
3.0.4 | 153 | 11/16/2024 |
3.0.3 | 158 | 11/15/2024 |
3.0.2 | 146 | 11/15/2024 |
3.0.1 | 151 | 11/13/2024 |
3.0.0 | 154 | 11/12/2024 |
2.2.1 | 166 | 11/11/2024 |
2.2.0 | 164 | 11/11/2024 |
2.1.9 | 176 | 11/11/2024 |
2.1.8 | 153 | 11/10/2024 |
2.1.7 | 154 | 11/9/2024 |
2.1.6 | 151 | 11/7/2024 |
2.1.5 | 153 | 11/2/2024 |
2.1.4 | 150 | 11/1/2024 |
2.1.3 | 155 | 10/31/2024 |
2.1.2 | 152 | 10/28/2024 |
2.1.1 | 142 | 10/28/2024 |
2.1.0 | 165 | 10/27/2024 |
2.0.9 | 148 | 10/21/2024 |
2.0.8 | 177 | 9/17/2024 |
2.0.7 | 168 | 9/16/2024 |
2.0.6 | 165 | 9/15/2024 |
2.0.5 | 149 | 7/24/2024 |
2.0.4 | 144 | 7/18/2024 |
2.0.3 | 147 | 7/8/2024 |
2.0.2 | 158 | 7/8/2024 |
2.0.1 | 178 | 7/3/2024 |
2.0.0.2 | 222 | 7/2/2024 |
2.0.0.1 | 248 | 7/2/2024 |
2.0.0 | 127 | 7/2/2024 |
2.0.0-official | 181 | 7/2/2024 |
1.2.2 | 308 | 10/18/2023 |
1.2.1 | 327 | 7/12/2023 |
1.2.0 | 172 | 7/11/2023 |
1.1.2.1 | 323 | 2/10/2023 |
1.1.2 | 314 | 2/9/2023 |
1.1.1 | 303 | 2/7/2023 |
1.1.0 | 488 | 1/21/2023 |
1.0.21.2 | 322 | 1/7/2023 |
1.0.21 | 352 | 1/7/2023 |
1.0.20 | 335 | 12/11/2022 |
1.0.19.2 | 434 | 10/30/2022 |
1.0.19 | 408 | 10/30/2022 |
1.0.18 | 437 | 10/24/2022 |
1.0.17 | 429 | 10/5/2022 |
1.0.16 | 416 | 8/15/2022 |
1.0.15 | 453 | 8/11/2022 |
1.0.14 | 489 | 8/7/2022 |
1.0.13 | 468 | 7/29/2022 |
1.0.12 | 471 | 7/27/2022 |
1.0.11 | 462 | 7/24/2022 |
1.0.10 | 480 | 7/20/2022 |
1.0.9 | 467 | 7/9/2022 |
1.0.8 | 467 | 7/4/2022 |
1.0.7 | 496 | 7/3/2022 |
1.0.6 | 485 | 7/2/2022 |
1.0.5 | 484 | 7/1/2022 |
1.0.4 | 492 | 7/1/2022 |
1.0.3 | 465 | 6/30/2022 |
1.0.2 | 453 | 6/30/2022 |
1.0.1 | 470 | 6/30/2022 |
1.0.0 | 479 | 6/30/2022 |