Ecng.Serialization 1.0.268

dotnet add package Ecng.Serialization --version 1.0.268
                    
NuGet\Install-Package Ecng.Serialization -Version 1.0.268
                    
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.268" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ecng.Serialization" Version="1.0.268" />
                    
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.268
                    
#r "nuget: Ecng.Serialization, 1.0.268"
                    
#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.268
                    
#: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.268
                    
Install as a Cake Addin
#tool nuget:?package=Ecng.Serialization&version=1.0.268
                    
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.268 254 9/2/2025
1.0.267 990 8/30/2025
1.0.266 324 8/30/2025
1.0.265 571 8/19/2025
1.0.264 278 8/15/2025
1.0.263 1,912 7/16/2025
1.0.262 1,164 7/13/2025
1.0.261 335 7/13/2025
1.0.260 315 7/12/2025
1.0.259 1,015 7/8/2025
1.0.258 746 7/4/2025
1.0.257 383 7/2/2025
1.0.256 2,847 6/16/2025
1.0.255 507 6/9/2025
1.0.254 410 6/8/2025
1.0.253 1,294 5/21/2025
1.0.252 429 5/17/2025
1.0.251 1,348 5/12/2025
1.0.250 401 5/12/2025
1.0.249 352 5/11/2025
1.0.248 348 5/11/2025
1.0.247 288 5/10/2025
1.0.246 275 5/10/2025
1.0.245 759 4/17/2025
1.0.244 421 4/15/2025
1.0.243 346 4/12/2025
1.0.242 2,834 3/22/2025
1.0.241 372 3/20/2025
1.0.240 352 3/20/2025
1.0.239 360 3/19/2025
1.0.238 3,319 2/26/2025
1.0.237 404 2/26/2025
1.0.236 5,299 2/5/2025
1.0.235 2,624 1/21/2025
1.0.234 373 1/20/2025
1.0.233 307 1/20/2025
1.0.232 386 1/19/2025
1.0.231 1,351 1/14/2025
1.0.230 572 1/12/2025
1.0.229 328 1/12/2025
1.0.228 340 1/12/2025
1.0.227 448 1/12/2025
1.0.226 701 1/10/2025
1.0.225 3,136 12/27/2024
1.0.224 398 12/19/2024
1.0.223 859 11/20/2024
1.0.222 2,791 11/18/2024
1.0.221 1,528 11/7/2024
1.0.220 629 10/31/2024
1.0.219 622 10/19/2024
1.0.218 2,459 10/12/2024
1.0.217 822 10/9/2024
1.0.216 2,268 10/5/2024
1.0.215 3,320 9/18/2024
1.0.214 437 9/17/2024
1.0.213 3,259 9/3/2024
1.0.212 442 9/1/2024
1.0.211 3,061 8/8/2024
1.0.210 7,097 6/12/2024
1.0.209 2,311 5/28/2024
1.0.208 2,786 5/4/2024
1.0.207 1,899 4/23/2024
1.0.206 1,399 4/21/2024
1.0.205 584 4/14/2024
1.0.204 4,217 3/28/2024
1.0.203 547 3/17/2024
1.0.202 2,970 2/23/2024
1.0.201 467 2/23/2024
1.0.200 2,956 2/18/2024
1.0.199 482 2/18/2024
1.0.198 509 2/16/2024
1.0.197 2,046 2/13/2024
1.0.196 1,960 2/8/2024
1.0.195 2,200 2/5/2024
1.0.194 483 2/4/2024
1.0.193 2,435 1/23/2024
1.0.192 460 1/23/2024
1.0.191 1,814 1/12/2024
1.0.190 4,342 1/2/2024
1.0.189 583 12/29/2023
1.0.188 4,206 12/15/2023
1.0.187 757 12/15/2023
1.0.186 843 12/13/2023
1.0.185 523 12/13/2023
1.0.184 9,625 11/12/2023
1.0.183 831 11/10/2023
1.0.182 543 11/10/2023
1.0.181 703 11/9/2023
1.0.180 1,231 11/3/2023
1.0.179 524 11/1/2023
1.0.178 554 11/1/2023
1.0.177 23,495 9/8/2023
1.0.176 813 9/8/2023
1.0.175 941 9/3/2023
1.0.174 1,138 8/21/2023
1.0.173 989 8/15/2023
1.0.172 656 8/14/2023
1.0.171 652 8/14/2023
1.0.170 1,035 8/10/2023
1.0.169 38,275 7/1/2023
1.0.168 723 6/29/2023
1.0.167 14,614 5/27/2023
1.0.166 968 5/21/2023
1.0.165 1,097 5/19/2023
1.0.164 24,475 5/8/2023
1.0.163 2,845 5/1/2023
1.0.162 2,196 4/22/2023
1.0.161 989 4/21/2023
1.0.160 48,997 4/3/2023
1.0.159 2,612 3/27/2023
1.0.158 2,264 3/21/2023
1.0.157 2,972 3/13/2023
1.0.156 18,694 3/6/2023
1.0.155 2,119 2/26/2023
1.0.154 16,397 2/21/2023
1.0.153 1,249 2/20/2023
1.0.152 2,490 2/15/2023
1.0.151 1,269 2/14/2023
1.0.150 32,436 2/9/2023
1.0.149 17,225 2/7/2023
1.0.148 1,833 2/4/2023
1.0.147 21,066 2/2/2023
1.0.146 17,654 1/30/2023
1.0.145 6,546 1/18/2023
1.0.144 43,465 12/30/2022
1.0.143 2,972 12/23/2022
1.0.142 21,784 12/12/2022
1.0.141 24,184 12/4/2022
1.0.140 2,081 12/4/2022
1.0.139 2,758 11/30/2022
1.0.138 2,087 11/29/2022
1.0.137 2,173 11/28/2022
1.0.136 6,024 11/18/2022
1.0.135 28,307 11/11/2022
1.0.134 2,112 11/11/2022
1.0.133 2,170 11/10/2022
1.0.132 2,327 11/5/2022
1.0.131 3,547 11/4/2022
1.0.130 25,439 11/1/2022
1.0.129 26,132 10/16/2022
1.0.128 9,022 9/10/2022
1.0.127 52,227 9/8/2022
1.0.126 2,601 9/8/2022
1.0.125 2,537 9/8/2022
1.0.124 2,556 9/4/2022
1.0.123 2,541 9/4/2022
1.0.122 91,334 8/24/2022
1.0.121 9,115 8/8/2022
1.0.120 2,773 8/8/2022
1.0.119 5,759 7/26/2022
1.0.118 2,942 7/26/2022
1.0.117 54,877 7/19/2022
1.0.116 47,667 7/18/2022
1.0.115 7,890 7/8/2022
1.0.114 6,991 6/18/2022
1.0.113 2,986 6/6/2022
1.0.112 98,358 4/30/2022
1.0.111 3,276 4/20/2022
1.0.110 3,285 4/10/2022
1.0.109 3,240 4/7/2022
1.0.108 3,261 4/7/2022
1.0.107 3,349 4/2/2022
1.0.106 14,487 3/29/2022
1.0.105 3,220 3/27/2022
1.0.104 3,256 3/27/2022
1.0.103 285,684 1/24/2022
1.0.102 161,852 12/29/2021
1.0.101 30,238 12/20/2021
1.0.100 3,563 12/13/2021
1.0.99 30,669 12/7/2021
1.0.98 29,513 12/6/2021
1.0.97 1,939 12/6/2021
1.0.96 3,536 12/2/2021
1.0.95 30,967 11/29/2021
1.0.94 29,768 11/22/2021
1.0.93 2,039 11/17/2021
1.0.92 1,974 11/14/2021
1.0.91 30,007 11/13/2021
1.0.90 2,052 11/11/2021
1.0.89 2,007 11/11/2021
1.0.88 2,063 11/10/2021
1.0.87 2,162 11/9/2021
1.0.86 63,443 11/5/2021
1.0.85 2,168 11/5/2021
1.0.84 2,062 11/4/2021
1.0.83 2,022 11/4/2021
1.0.82 1,963 11/3/2021
1.0.81 2,184 10/30/2021
1.0.80 32,997 10/21/2021
1.0.79 2,565 10/17/2021
1.0.78 62,656 10/14/2021
1.0.77 12,996 10/13/2021
1.0.76 2,099 10/12/2021
1.0.75 33,340 10/11/2021
1.0.74 2,027 10/9/2021
1.0.73 36,753 10/7/2021
1.0.72 38,457 10/7/2021
1.0.71 2,105 10/7/2021
1.0.70 2,067 10/6/2021
1.0.69 2,135 9/28/2021
1.0.68 35,629 9/23/2021
1.0.67 2,305 9/11/2021
1.0.66 1,839 9/10/2021
1.0.65 1,863 9/9/2021
1.0.64 1,821 9/8/2021
1.0.63 1,810 9/8/2021
1.0.62 32,530 9/6/2021
1.0.61 2,031 8/31/2021
1.0.60 2,008 8/30/2021
1.0.59 35,229 7/31/2021
1.0.58 61,328 7/30/2021
1.0.57 2,404 7/26/2021
1.0.56 90,708 7/5/2021
1.0.55 2,384 7/1/2021
1.0.54 64,321 6/4/2021
1.0.53 92,274 4/26/2021
1.0.52 32,921 4/19/2021
1.0.51 150,514 4/7/2021
1.0.50 32,235 4/3/2021
1.0.49 179,044 3/22/2021
1.0.48 113,288 3/4/2021
1.0.47 34,967 2/26/2021
1.0.46 167,726 2/2/2021
1.0.45 58,764 1/26/2021
1.0.44 57,974 1/24/2021
1.0.43 2,607 1/24/2021
1.0.42 2,765 1/23/2021
1.0.41 59,426 1/20/2021
1.0.40 2,683 1/20/2021
1.0.39 30,759 1/18/2021
1.0.38 2,688 1/18/2021
1.0.37 29,853 1/16/2021
1.0.36 118,521 12/16/2020
1.0.35 56,836 12/14/2020
1.0.34 34,857 12/9/2020
1.0.33 4,896 12/6/2020
1.0.32 3,170 12/2/2020
1.0.31 3,044 12/2/2020
1.0.30 30,739 12/1/2020
1.0.29 183,691 11/12/2020
1.0.29-atestpub 1,392 11/11/2020
1.0.28 31,965 10/11/2020
1.0.27 112,226 9/9/2020
1.0.26 30,495 9/3/2020
1.0.25 31,062 8/20/2020
1.0.24 85,428 8/9/2020
1.0.23 31,229 7/28/2020
1.0.22 30,254 7/19/2020
1.0.21 57,004 7/6/2020
1.0.20 85,962 6/6/2020
1.0.19 31,622 6/4/2020
1.0.18 58,538 5/29/2020
1.0.17 58,432 5/21/2020
1.0.16 3,762 5/17/2020
1.0.15 59,052 5/12/2020
1.0.14 114,881 5/4/2020
1.0.13 7,676 4/24/2020
1.0.12 10,153 4/22/2020
1.0.11 3,576 4/22/2020
1.0.10 3,580 4/21/2020
1.0.9 33,162 4/18/2020
1.0.8 31,190 4/16/2020
1.0.7 3,505 4/16/2020
1.0.6 26,405 4/15/2020
1.0.5 29,036 4/11/2020
1.0.4 27,846 4/3/2020
1.0.3 3,187 4/1/2020
1.0.2 14,206 3/27/2020
1.0.1 13,150 3/22/2020
1.0.0 5,535 3/22/2020