Ecng.Serialization 1.0.297

There is a newer version of this package available.
See the version list below for details.
dotnet add package Ecng.Serialization --version 1.0.297
                    
NuGet\Install-Package Ecng.Serialization -Version 1.0.297
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ecng.Serialization" Version="1.0.297" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ecng.Serialization" Version="1.0.297" />
                    
Directory.Packages.props
<PackageReference Include="Ecng.Serialization" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Ecng.Serialization --version 1.0.297
                    
#r "nuget: Ecng.Serialization, 1.0.297"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Ecng.Serialization@1.0.297
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Ecng.Serialization&version=1.0.297
                    
Install as a Cake Addin
#tool nuget:?package=Ecng.Serialization&version=1.0.297
                    
Install as a Cake Tool

Ecng.Serialization

Helpers for JSON and high-performance binary serialization.

Purpose

Provide easy to use serializers with built in SettingsStorage support so objects can be persisted or transmitted with minimal code.

Key Features

  • JSON serializer with indentation and enum string options
  • Streaming API and asynchronous methods
  • Custom converters and IPersistable helpers
  • SpanWriter/SpanReader for compact binary format

JSON Example

var serializer = JsonSerializer<MyData>.CreateDefault();
await using var stream = File.OpenWrite("data.json");
await serializer.SerializeAsync(data, stream, CancellationToken.None);

await using var read = File.OpenRead("data.json");
var loaded = await serializer.DeserializeAsync(read, CancellationToken.None);

Same using standard .NET:

await System.Text.Json.JsonSerializer.SerializeAsync(stream, data);

Binary primitives

SpanWriter writer = stackalloc byte[256];
writer.WriteInt32(42);
writer.WriteString("hello");

var reader = new SpanReader(writer.Buffer);
int num = reader.ReadInt32();
string text = reader.ReadString();

SettingsStorage

var storage = new SettingsStorage();
myObj.Save(storage);

string raw = storage.SaveToString<JsonSerializer<SettingsStorage>>();
var restored = raw.LoadFromString<JsonSerializer<SettingsStorage>>();
Product 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 was computed.  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 is compatible.  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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Ecng.Serialization:

Package Downloads
Ecng.ComponentModel

Ecng system framework

Ecng.Interop.Windows

Ecng system framework

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.314 44 12/26/2025
1.0.313 39 12/26/2025
1.0.312 37 12/26/2025
1.0.311 55 12/26/2025
1.0.310 131 12/25/2025
1.0.309 147 12/25/2025
1.0.308 751 12/22/2025
1.0.307 603 12/21/2025
1.0.306 644 12/19/2025
1.0.305 638 12/19/2025
1.0.304 838 12/17/2025
1.0.303 875 12/15/2025
1.0.302 632 12/15/2025
1.0.301 613 12/14/2025
1.0.300 1,687 12/12/2025
1.0.299 880 12/12/2025
1.0.298 483 12/12/2025
1.0.297 496 12/12/2025
1.0.296 863 12/12/2025
1.0.295 1,188 12/2/2025
1.0.294 1,067 12/2/2025
1.0.293 1,067 12/2/2025
1.0.292 680 11/30/2025
1.0.291 534 11/29/2025
1.0.290 535 11/28/2025
1.0.289 520 11/28/2025
1.0.288 609 11/27/2025
1.0.287 694 11/24/2025
1.0.286 590 11/24/2025
1.0.285 614 11/23/2025
1.0.284 588 11/23/2025
1.0.283 647 11/22/2025
1.0.282 1,546 11/20/2025
1.0.281 868 11/18/2025
1.0.280 803 11/18/2025
1.0.279 831 11/13/2025
1.0.278 717 11/10/2025
1.0.277 1,608 11/1/2025
1.0.276 839 10/28/2025
1.0.275 811 10/27/2025
1.0.274 666 10/27/2025
1.0.273 587 10/25/2025
1.0.272 2,322 10/11/2025
1.0.271 2,023 10/3/2025
1.0.270 2,043 9/28/2025
1.0.269 734 9/25/2025
1.0.268 5,221 9/2/2025
1.0.267 3,149 8/30/2025
1.0.266 787 8/30/2025
1.0.265 1,647 8/19/2025
1.0.264 661 8/15/2025
1.0.263 5,505 7/16/2025
1.0.262 1,963 7/13/2025
1.0.261 607 7/13/2025
1.0.260 610 7/12/2025
1.0.259 1,841 7/8/2025
1.0.258 1,375 7/4/2025
1.0.257 664 7/2/2025
1.0.256 5,421 6/16/2025
1.0.255 807 6/9/2025
1.0.254 694 6/8/2025
1.0.253 2,297 5/21/2025
1.0.252 820 5/17/2025
1.0.251 2,353 5/12/2025
1.0.250 714 5/12/2025
1.0.249 638 5/11/2025
1.0.248 620 5/11/2025
1.0.247 573 5/10/2025
1.0.246 580 5/10/2025
1.0.245 1,320 4/17/2025
1.0.244 711 4/15/2025
1.0.243 649 4/12/2025
1.0.242 4,798 3/22/2025
1.0.241 672 3/20/2025
1.0.240 635 3/20/2025
1.0.239 661 3/19/2025
1.0.238 5,554 2/26/2025
1.0.237 712 2/26/2025
1.0.236 9,155 2/5/2025
1.0.235 4,487 1/21/2025
1.0.234 688 1/20/2025
1.0.233 558 1/20/2025
1.0.232 679 1/19/2025
1.0.231 2,278 1/14/2025
1.0.230 1,044 1/12/2025
1.0.229 633 1/12/2025
1.0.228 642 1/12/2025
1.0.227 782 1/12/2025
1.0.226 1,279 1/10/2025
1.0.225 4,761 12/27/2024
1.0.224 656 12/19/2024
1.0.223 1,128 11/20/2024
1.0.222 4,079 11/18/2024
1.0.221 2,497 11/7/2024
1.0.220 1,053 10/31/2024
1.0.219 952 10/19/2024
1.0.218 3,759 10/12/2024
1.0.217 1,337 10/9/2024
1.0.216 3,767 10/5/2024
1.0.215 5,392 9/18/2024
1.0.214 687 9/17/2024
1.0.213 5,000 9/3/2024
1.0.212 695 9/1/2024
1.0.211 4,493 8/8/2024
1.0.210 11,151 6/12/2024
1.0.209 3,466 5/28/2024
1.0.208 4,290 5/4/2024
1.0.207 2,930 4/23/2024
1.0.206 2,018 4/21/2024
1.0.205 868 4/14/2024
1.0.204 6,227 3/28/2024
1.0.203 808 3/17/2024
1.0.202 4,104 2/23/2024
1.0.201 718 2/23/2024
1.0.200 4,042 2/18/2024
1.0.199 704 2/18/2024
1.0.198 781 2/16/2024
1.0.197 2,815 2/13/2024
1.0.196 2,615 2/8/2024
1.0.195 2,984 2/5/2024
1.0.194 712 2/4/2024
1.0.193 3,120 1/23/2024
1.0.192 698 1/23/2024
1.0.191 2,468 1/12/2024
1.0.190 5,752 1/2/2024
1.0.189 857 12/29/2023
1.0.188 5,509 12/15/2023
1.0.187 1,160 12/15/2023
1.0.186 1,219 12/13/2023
1.0.185 780 12/13/2023
1.0.184 12,338 11/12/2023
1.0.183 1,312 11/10/2023
1.0.182 859 11/10/2023
1.0.181 1,111 11/9/2023
1.0.180 1,917 11/3/2023
1.0.179 845 11/1/2023
1.0.178 899 11/1/2023
1.0.177 26,076 9/8/2023
1.0.176 1,262 9/8/2023
1.0.175 1,426 9/3/2023
1.0.174 1,702 8/21/2023
1.0.173 1,332 8/15/2023
1.0.172 895 8/14/2023
1.0.171 883 8/14/2023
1.0.170 1,487 8/10/2023
1.0.169 40,880 7/1/2023
1.0.168 1,053 6/29/2023
1.0.167 16,419 5/27/2023
1.0.166 1,365 5/21/2023
1.0.165 1,515 5/19/2023
1.0.164 26,794 5/8/2023
1.0.163 3,651 5/1/2023
1.0.162 2,776 4/22/2023
1.0.161 1,336 4/21/2023
1.0.160 51,947 4/3/2023
1.0.159 3,192 3/27/2023
1.0.158 2,748 3/21/2023
1.0.157 3,543 3/13/2023
1.0.156 20,112 3/6/2023
1.0.155 2,428 2/26/2023
1.0.154 17,268 2/21/2023
1.0.153 1,551 2/20/2023
1.0.152 2,941 2/15/2023
1.0.151 1,547 2/14/2023
1.0.150 33,959 2/9/2023
1.0.149 18,086 2/7/2023
1.0.148 2,187 2/4/2023
1.0.147 22,292 2/2/2023
1.0.146 18,470 1/30/2023
1.0.145 7,417 1/18/2023
1.0.144 45,905 12/30/2022
1.0.143 3,374 12/23/2022
1.0.142 22,904 12/12/2022
1.0.141 25,500 12/4/2022
1.0.140 2,418 12/4/2022
1.0.139 3,157 11/30/2022
1.0.138 2,418 11/29/2022
1.0.137 2,448 11/28/2022
1.0.136 6,703 11/18/2022
1.0.135 29,647 11/11/2022
1.0.134 2,409 11/11/2022
1.0.133 2,410 11/10/2022
1.0.132 2,651 11/5/2022
1.0.131 3,980 11/4/2022
1.0.130 26,542 11/1/2022
1.0.129 26,999 10/16/2022
1.0.128 9,648 9/10/2022
1.0.127 53,611 9/8/2022
1.0.126 2,838 9/8/2022
1.0.125 2,792 9/8/2022
1.0.124 2,784 9/4/2022
1.0.123 2,840 9/4/2022
1.0.122 93,132 8/24/2022
1.0.121 9,757 8/8/2022
1.0.120 3,025 8/8/2022
1.0.119 6,204 7/26/2022
1.0.118 3,269 7/26/2022
1.0.117 56,353 7/19/2022
1.0.116 48,622 7/18/2022
1.0.115 8,426 7/8/2022
1.0.114 7,540 6/18/2022
1.0.113 3,270 6/6/2022
1.0.112 100,506 4/30/2022
1.0.111 3,597 4/20/2022
1.0.110 3,574 4/10/2022
1.0.109 3,456 4/7/2022
1.0.108 3,458 4/7/2022
1.0.107 3,576 4/2/2022
1.0.106 15,134 3/29/2022
1.0.105 3,457 3/27/2022
1.0.104 3,482 3/27/2022
1.0.103 292,695 1/24/2022
1.0.102 165,201 12/29/2021
1.0.101 31,369 12/20/2021
1.0.100 3,993 12/13/2021
1.0.99 31,789 12/7/2021
1.0.98 30,552 12/6/2021
1.0.97 2,180 12/6/2021
1.0.96 3,968 12/2/2021
1.0.95 32,099 11/29/2021
1.0.94 30,910 11/22/2021
1.0.93 2,277 11/17/2021
1.0.92 2,217 11/14/2021
1.0.91 31,048 11/13/2021
1.0.90 2,289 11/11/2021
1.0.89 2,246 11/11/2021
1.0.88 2,302 11/10/2021
1.0.87 2,399 11/9/2021
1.0.86 65,353 11/5/2021
1.0.85 2,401 11/5/2021
1.0.84 2,365 11/4/2021
1.0.83 2,253 11/4/2021
1.0.82 2,259 11/3/2021
1.0.81 2,423 10/30/2021
1.0.80 33,929 10/21/2021
1.0.79 2,891 10/17/2021
1.0.78 64,316 10/14/2021
1.0.77 13,782 10/13/2021
1.0.76 2,421 10/12/2021
1.0.75 34,423 10/11/2021
1.0.74 2,260 10/9/2021
1.0.73 37,693 10/7/2021
1.0.72 39,741 10/7/2021
1.0.71 2,349 10/7/2021
1.0.70 2,359 10/6/2021
1.0.69 2,380 9/28/2021
1.0.68 36,703 9/23/2021
1.0.67 2,560 9/11/2021
1.0.66 2,063 9/10/2021
1.0.65 2,077 9/9/2021
1.0.64 2,022 9/8/2021
1.0.63 2,026 9/8/2021
1.0.62 33,434 9/6/2021
1.0.61 2,238 8/31/2021
1.0.60 2,217 8/30/2021
1.0.59 36,258 7/31/2021
1.0.58 62,864 7/30/2021
1.0.57 2,709 7/26/2021
1.0.56 92,970 7/5/2021
1.0.55 2,605 7/1/2021
1.0.54 65,982 6/4/2021
1.0.53 94,517 4/26/2021
1.0.52 33,859 4/19/2021
1.0.51 154,178 4/7/2021
1.0.50 33,202 4/3/2021
1.0.49 183,323 3/22/2021
1.0.48 116,232 3/4/2021
1.0.47 36,177 2/26/2021
1.0.46 171,861 2/2/2021
1.0.45 60,307 1/26/2021
1.0.44 59,630 1/24/2021
1.0.43 2,867 1/24/2021
1.0.42 3,025 1/23/2021
1.0.41 61,015 1/20/2021
1.0.40 3,007 1/20/2021
1.0.39 31,726 1/18/2021
1.0.38 2,931 1/18/2021
1.0.37 30,753 1/16/2021
1.0.36 121,916 12/16/2020
1.0.35 58,587 12/14/2020
1.0.34 36,163 12/9/2020
1.0.33 5,304 12/6/2020
1.0.32 3,489 12/2/2020
1.0.31 3,374 12/2/2020
1.0.30 31,791 12/1/2020
1.0.29 189,222 11/12/2020
1.0.29-atestpub 1,599 11/11/2020
1.0.28 32,940 10/11/2020
1.0.27 114,855 9/9/2020
1.0.26 31,357 9/3/2020
1.0.25 31,922 8/20/2020
1.0.24 87,551 8/9/2020
1.0.23 32,161 7/28/2020
1.0.22 31,204 7/19/2020
1.0.21 58,500 7/6/2020
1.0.20 87,855 6/6/2020
1.0.19 32,546 6/4/2020
1.0.18 59,942 5/29/2020
1.0.17 59,784 5/21/2020
1.0.16 4,077 5/17/2020
1.0.15 60,567 5/12/2020
1.0.14 117,726 5/4/2020
1.0.13 8,180 4/24/2020
1.0.12 10,762 4/22/2020
1.0.11 3,880 4/22/2020
1.0.10 3,899 4/21/2020
1.0.9 34,124 4/18/2020
1.0.8 31,995 4/16/2020
1.0.7 3,764 4/16/2020
1.0.6 27,243 4/15/2020
1.0.5 29,891 4/11/2020
1.0.4 28,700 4/3/2020
1.0.3 3,425 4/1/2020
1.0.2 15,116 3/27/2020
1.0.1 14,093 3/22/2020
1.0.0 5,968 3/22/2020