Ecng.Serialization 1.0.266

There is a newer version of this package available.
See the version list below for details.
dotnet add package Ecng.Serialization --version 1.0.266
                    
NuGet\Install-Package Ecng.Serialization -Version 1.0.266
                    
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.266" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ecng.Serialization" Version="1.0.266" />
                    
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.266
                    
#r "nuget: Ecng.Serialization, 1.0.266"
                    
#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.266
                    
#: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.266
                    
Install as a Cake Addin
#tool nuget:?package=Ecng.Serialization&version=1.0.266
                    
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 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 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.269 186 9/25/2025
1.0.268 1,906 9/2/2025
1.0.267 2,030 8/30/2025
1.0.266 544 8/30/2025
1.0.265 1,128 8/19/2025
1.0.264 482 8/15/2025
1.0.263 3,834 7/16/2025
1.0.262 1,416 7/13/2025
1.0.261 399 7/13/2025
1.0.260 392 7/12/2025
1.0.259 1,291 7/8/2025
1.0.258 956 7/4/2025
1.0.257 443 7/2/2025
1.0.256 3,786 6/16/2025
1.0.255 595 6/9/2025
1.0.254 491 6/8/2025
1.0.253 1,607 5/21/2025
1.0.252 541 5/17/2025
1.0.251 1,646 5/12/2025
1.0.250 484 5/12/2025
1.0.249 432 5/11/2025
1.0.248 426 5/11/2025
1.0.247 349 5/10/2025
1.0.246 348 5/10/2025
1.0.245 915 4/17/2025
1.0.244 506 4/15/2025
1.0.243 429 4/12/2025
1.0.242 3,473 3/22/2025
1.0.241 449 3/20/2025
1.0.240 427 3/20/2025
1.0.239 443 3/19/2025
1.0.238 4,044 2/26/2025
1.0.237 497 2/26/2025
1.0.236 6,662 2/5/2025
1.0.235 3,204 1/21/2025
1.0.234 453 1/20/2025
1.0.233 386 1/20/2025
1.0.232 470 1/19/2025
1.0.231 1,645 1/14/2025
1.0.230 689 1/12/2025
1.0.229 413 1/12/2025
1.0.228 404 1/12/2025
1.0.227 533 1/12/2025
1.0.226 830 1/10/2025
1.0.225 3,712 12/27/2024
1.0.224 464 12/19/2024
1.0.223 944 11/20/2024
1.0.222 3,205 11/18/2024
1.0.221 1,785 11/7/2024
1.0.220 724 10/31/2024
1.0.219 685 10/19/2024
1.0.218 2,803 10/12/2024
1.0.217 965 10/9/2024
1.0.216 2,755 10/5/2024
1.0.215 3,994 9/18/2024
1.0.214 523 9/17/2024
1.0.213 3,867 9/3/2024
1.0.212 509 9/1/2024
1.0.211 3,473 8/8/2024
1.0.210 8,403 6/12/2024
1.0.209 2,666 5/28/2024
1.0.208 3,238 5/4/2024
1.0.207 2,219 4/23/2024
1.0.206 1,608 4/21/2024
1.0.205 669 4/14/2024
1.0.204 4,885 3/28/2024
1.0.203 603 3/17/2024
1.0.202 3,345 2/23/2024
1.0.201 539 2/23/2024
1.0.200 3,326 2/18/2024
1.0.199 533 2/18/2024
1.0.198 573 2/16/2024
1.0.197 2,237 2/13/2024
1.0.196 2,138 2/8/2024
1.0.195 2,417 2/5/2024
1.0.194 532 2/4/2024
1.0.193 2,660 1/23/2024
1.0.192 515 1/23/2024
1.0.191 2,044 1/12/2024
1.0.190 4,769 1/2/2024
1.0.189 669 12/29/2023
1.0.188 4,608 12/15/2023
1.0.187 879 12/15/2023
1.0.186 971 12/13/2023
1.0.185 599 12/13/2023
1.0.184 10,471 11/12/2023
1.0.183 967 11/10/2023
1.0.182 615 11/10/2023
1.0.181 814 11/9/2023
1.0.180 1,456 11/3/2023
1.0.179 608 11/1/2023
1.0.178 636 11/1/2023
1.0.177 24,328 9/8/2023
1.0.176 920 9/8/2023
1.0.175 1,088 9/3/2023
1.0.174 1,277 8/21/2023
1.0.173 1,119 8/15/2023
1.0.172 729 8/14/2023
1.0.171 719 8/14/2023
1.0.170 1,193 8/10/2023
1.0.169 39,117 7/1/2023
1.0.168 802 6/29/2023
1.0.167 15,187 5/27/2023
1.0.166 1,053 5/21/2023
1.0.165 1,222 5/19/2023
1.0.164 25,230 5/8/2023
1.0.163 3,123 5/1/2023
1.0.162 2,368 4/22/2023
1.0.161 1,051 4/21/2023
1.0.160 49,886 4/3/2023
1.0.159 2,819 3/27/2023
1.0.158 2,396 3/21/2023
1.0.157 3,153 3/13/2023
1.0.156 19,136 3/6/2023
1.0.155 2,208 2/26/2023
1.0.154 16,686 2/21/2023
1.0.153 1,317 2/20/2023
1.0.152 2,624 2/15/2023
1.0.151 1,328 2/14/2023
1.0.150 32,901 2/9/2023
1.0.149 17,470 2/7/2023
1.0.148 1,923 2/4/2023
1.0.147 21,414 2/2/2023
1.0.146 17,877 1/30/2023
1.0.145 6,810 1/18/2023
1.0.144 44,200 12/30/2022
1.0.143 3,080 12/23/2022
1.0.142 22,099 12/12/2022
1.0.141 24,540 12/4/2022
1.0.140 2,147 12/4/2022
1.0.139 2,847 11/30/2022
1.0.138 2,150 11/29/2022
1.0.137 2,233 11/28/2022
1.0.136 6,216 11/18/2022
1.0.135 28,697 11/11/2022
1.0.134 2,174 11/11/2022
1.0.133 2,220 11/10/2022
1.0.132 2,377 11/5/2022
1.0.131 3,648 11/4/2022
1.0.130 25,730 11/1/2022
1.0.129 26,373 10/16/2022
1.0.128 9,221 9/10/2022
1.0.127 52,603 9/8/2022
1.0.126 2,659 9/8/2022
1.0.125 2,610 9/8/2022
1.0.124 2,618 9/4/2022
1.0.123 2,605 9/4/2022
1.0.122 91,926 8/24/2022
1.0.121 9,332 8/8/2022
1.0.120 2,827 8/8/2022
1.0.119 5,850 7/26/2022
1.0.118 3,014 7/26/2022
1.0.117 55,331 7/19/2022
1.0.116 47,933 7/18/2022
1.0.115 8,050 7/8/2022
1.0.114 7,138 6/18/2022
1.0.113 3,048 6/6/2022
1.0.112 99,015 4/30/2022
1.0.111 3,327 4/20/2022
1.0.110 3,342 4/10/2022
1.0.109 3,294 4/7/2022
1.0.108 3,300 4/7/2022
1.0.107 3,409 4/2/2022
1.0.106 14,641 3/29/2022
1.0.105 3,286 3/27/2022
1.0.104 3,309 3/27/2022
1.0.103 287,598 1/24/2022
1.0.102 162,694 12/29/2021
1.0.101 30,548 12/20/2021
1.0.100 3,675 12/13/2021
1.0.99 30,987 12/7/2021
1.0.98 29,781 12/6/2021
1.0.97 1,983 12/6/2021
1.0.96 3,627 12/2/2021
1.0.95 31,257 11/29/2021
1.0.94 30,065 11/22/2021
1.0.93 2,093 11/17/2021
1.0.92 2,039 11/14/2021
1.0.91 30,295 11/13/2021
1.0.90 2,105 11/11/2021
1.0.89 2,070 11/11/2021
1.0.88 2,119 11/10/2021
1.0.87 2,214 11/9/2021
1.0.86 64,028 11/5/2021
1.0.85 2,221 11/5/2021
1.0.84 2,106 11/4/2021
1.0.83 2,095 11/4/2021
1.0.82 2,018 11/3/2021
1.0.81 2,237 10/30/2021
1.0.80 33,213 10/21/2021
1.0.79 2,623 10/17/2021
1.0.78 63,183 10/14/2021
1.0.77 13,208 10/13/2021
1.0.76 2,152 10/12/2021
1.0.75 33,617 10/11/2021
1.0.74 2,092 10/9/2021
1.0.73 37,045 10/7/2021
1.0.72 38,778 10/7/2021
1.0.71 2,160 10/7/2021
1.0.70 2,120 10/6/2021
1.0.69 2,191 9/28/2021
1.0.68 35,942 9/23/2021
1.0.67 2,367 9/11/2021
1.0.66 1,881 9/10/2021
1.0.65 1,908 9/9/2021
1.0.64 1,862 9/8/2021
1.0.63 1,852 9/8/2021
1.0.62 32,780 9/6/2021
1.0.61 2,083 8/31/2021
1.0.60 2,060 8/30/2021
1.0.59 35,502 7/31/2021
1.0.58 61,768 7/30/2021
1.0.57 2,457 7/26/2021
1.0.56 91,384 7/5/2021
1.0.55 2,435 7/1/2021
1.0.54 64,822 6/4/2021
1.0.53 92,932 4/26/2021
1.0.52 33,175 4/19/2021
1.0.51 151,686 4/7/2021
1.0.50 32,477 4/3/2021
1.0.49 180,290 3/22/2021
1.0.48 114,149 3/4/2021
1.0.47 35,276 2/26/2021
1.0.46 168,920 2/2/2021
1.0.45 59,248 1/26/2021
1.0.44 58,475 1/24/2021
1.0.43 2,672 1/24/2021
1.0.42 2,826 1/23/2021
1.0.41 59,911 1/20/2021
1.0.40 2,741 1/20/2021
1.0.39 31,036 1/18/2021
1.0.38 2,759 1/18/2021
1.0.37 30,120 1/16/2021
1.0.36 119,581 12/16/2020
1.0.35 57,360 12/14/2020
1.0.34 35,245 12/9/2020
1.0.33 4,978 12/6/2020
1.0.32 3,228 12/2/2020
1.0.31 3,118 12/2/2020
1.0.30 31,016 12/1/2020
1.0.29 185,458 11/12/2020
1.0.29-atestpub 1,441 11/11/2020
1.0.28 32,253 10/11/2020
1.0.27 113,003 9/9/2020
1.0.26 30,730 9/3/2020
1.0.25 31,334 8/20/2020
1.0.24 86,101 8/9/2020
1.0.23 31,481 7/28/2020
1.0.22 30,537 7/19/2020
1.0.21 57,467 7/6/2020
1.0.20 86,486 6/6/2020
1.0.19 31,900 6/4/2020
1.0.18 58,950 5/29/2020
1.0.17 58,854 5/21/2020
1.0.16 3,821 5/17/2020
1.0.15 59,540 5/12/2020
1.0.14 115,684 5/4/2020
1.0.13 7,812 4/24/2020
1.0.12 10,290 4/22/2020
1.0.11 3,635 4/22/2020
1.0.10 3,650 4/21/2020
1.0.9 33,434 4/18/2020
1.0.8 31,429 4/16/2020
1.0.7 3,561 4/16/2020
1.0.6 26,657 4/15/2020
1.0.5 29,293 4/11/2020
1.0.4 28,082 4/3/2020
1.0.3 3,239 4/1/2020
1.0.2 14,492 3/27/2020
1.0.1 13,400 3/22/2020
1.0.0 5,642 3/22/2020

JsonNullableTests