Ecng.Serialization 1.0.272

dotnet add package Ecng.Serialization --version 1.0.272
                    
NuGet\Install-Package Ecng.Serialization -Version 1.0.272
                    
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.272" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ecng.Serialization" Version="1.0.272" />
                    
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.272
                    
#r "nuget: Ecng.Serialization, 1.0.272"
                    
#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.272
                    
#: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.272
                    
Install as a Cake Addin
#tool nuget:?package=Ecng.Serialization&version=1.0.272
                    
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.272 1,111 10/11/2025
1.0.271 1,966 10/3/2025
1.0.270 1,984 9/28/2025
1.0.269 668 9/25/2025
1.0.268 3,044 9/2/2025
1.0.267 2,793 8/30/2025
1.0.266 722 8/30/2025
1.0.265 1,580 8/19/2025
1.0.264 610 8/15/2025
1.0.263 5,169 7/16/2025
1.0.262 1,877 7/13/2025
1.0.261 545 7/13/2025
1.0.260 555 7/12/2025
1.0.259 1,751 7/8/2025
1.0.258 1,312 7/4/2025
1.0.257 601 7/2/2025
1.0.256 5,320 6/16/2025
1.0.255 751 6/9/2025
1.0.254 623 6/8/2025
1.0.253 2,235 5/21/2025
1.0.252 756 5/17/2025
1.0.251 2,268 5/12/2025
1.0.250 658 5/12/2025
1.0.249 586 5/11/2025
1.0.248 558 5/11/2025
1.0.247 507 5/10/2025
1.0.246 520 5/10/2025
1.0.245 1,249 4/17/2025
1.0.244 660 4/15/2025
1.0.243 592 4/12/2025
1.0.242 4,711 3/22/2025
1.0.241 604 3/20/2025
1.0.240 579 3/20/2025
1.0.239 591 3/19/2025
1.0.238 5,425 2/26/2025
1.0.237 645 2/26/2025
1.0.236 9,004 2/5/2025
1.0.235 4,396 1/21/2025
1.0.234 627 1/20/2025
1.0.233 502 1/20/2025
1.0.232 622 1/19/2025
1.0.231 2,204 1/14/2025
1.0.230 990 1/12/2025
1.0.229 575 1/12/2025
1.0.228 570 1/12/2025
1.0.227 733 1/12/2025
1.0.226 1,223 1/10/2025
1.0.225 4,688 12/27/2024
1.0.224 603 12/19/2024
1.0.223 1,077 11/20/2024
1.0.222 3,988 11/18/2024
1.0.221 2,427 11/7/2024
1.0.220 996 10/31/2024
1.0.219 893 10/19/2024
1.0.218 3,695 10/12/2024
1.0.217 1,282 10/9/2024
1.0.216 3,704 10/5/2024
1.0.215 5,316 9/18/2024
1.0.214 637 9/17/2024
1.0.213 4,928 9/3/2024
1.0.212 637 9/1/2024
1.0.211 4,418 8/8/2024
1.0.210 11,057 6/12/2024
1.0.209 3,407 5/28/2024
1.0.208 4,235 5/4/2024
1.0.207 2,870 4/23/2024
1.0.206 1,954 4/21/2024
1.0.205 801 4/14/2024
1.0.204 6,146 3/28/2024
1.0.203 730 3/17/2024
1.0.202 4,029 2/23/2024
1.0.201 666 2/23/2024
1.0.200 3,996 2/18/2024
1.0.199 652 2/18/2024
1.0.198 724 2/16/2024
1.0.197 2,728 2/13/2024
1.0.196 2,542 2/8/2024
1.0.195 2,855 2/5/2024
1.0.194 654 2/4/2024
1.0.193 3,068 1/23/2024
1.0.192 650 1/23/2024
1.0.191 2,398 1/12/2024
1.0.190 5,656 1/2/2024
1.0.189 805 12/29/2023
1.0.188 5,384 12/15/2023
1.0.187 1,098 12/15/2023
1.0.186 1,161 12/13/2023
1.0.185 724 12/13/2023
1.0.184 12,228 11/12/2023
1.0.183 1,181 11/10/2023
1.0.182 752 11/10/2023
1.0.181 998 11/9/2023
1.0.180 1,806 11/3/2023
1.0.179 732 11/1/2023
1.0.178 781 11/1/2023
1.0.177 25,959 9/8/2023
1.0.176 1,149 9/8/2023
1.0.175 1,313 9/3/2023
1.0.174 1,566 8/21/2023
1.0.173 1,282 8/15/2023
1.0.172 844 8/14/2023
1.0.171 835 8/14/2023
1.0.170 1,440 8/10/2023
1.0.169 40,808 7/1/2023
1.0.168 942 6/29/2023
1.0.167 16,274 5/27/2023
1.0.166 1,247 5/21/2023
1.0.165 1,390 5/19/2023
1.0.164 26,675 5/8/2023
1.0.163 3,594 5/1/2023
1.0.162 2,638 4/22/2023
1.0.161 1,198 4/21/2023
1.0.160 51,782 4/3/2023
1.0.159 3,130 3/27/2023
1.0.158 2,632 3/21/2023
1.0.157 3,417 3/13/2023
1.0.156 19,981 3/6/2023
1.0.155 2,368 2/26/2023
1.0.154 17,128 2/21/2023
1.0.153 1,428 2/20/2023
1.0.152 2,812 2/15/2023
1.0.151 1,422 2/14/2023
1.0.150 33,800 2/9/2023
1.0.149 17,931 2/7/2023
1.0.148 2,062 2/4/2023
1.0.147 22,110 2/2/2023
1.0.146 18,311 1/30/2023
1.0.145 7,298 1/18/2023
1.0.144 45,704 12/30/2022
1.0.143 3,293 12/23/2022
1.0.142 22,752 12/12/2022
1.0.141 25,334 12/4/2022
1.0.140 2,286 12/4/2022
1.0.139 3,008 11/30/2022
1.0.138 2,274 11/29/2022
1.0.137 2,368 11/28/2022
1.0.136 6,546 11/18/2022
1.0.135 29,485 11/11/2022
1.0.134 2,281 11/11/2022
1.0.133 2,339 11/10/2022
1.0.132 2,507 11/5/2022
1.0.131 3,840 11/4/2022
1.0.130 26,382 11/1/2022
1.0.129 26,850 10/16/2022
1.0.128 9,583 9/10/2022
1.0.127 53,422 9/8/2022
1.0.126 2,772 9/8/2022
1.0.125 2,725 9/8/2022
1.0.124 2,713 9/4/2022
1.0.123 2,710 9/4/2022
1.0.122 93,031 8/24/2022
1.0.121 9,680 8/8/2022
1.0.120 2,965 8/8/2022
1.0.119 6,070 7/26/2022
1.0.118 3,140 7/26/2022
1.0.117 56,210 7/19/2022
1.0.116 48,547 7/18/2022
1.0.115 8,365 7/8/2022
1.0.114 7,411 6/18/2022
1.0.113 3,145 6/6/2022
1.0.112 100,329 4/30/2022
1.0.111 3,473 4/20/2022
1.0.110 3,443 4/10/2022
1.0.109 3,395 4/7/2022
1.0.108 3,391 4/7/2022
1.0.107 3,517 4/2/2022
1.0.106 15,005 3/29/2022
1.0.105 3,394 3/27/2022
1.0.104 3,421 3/27/2022
1.0.103 292,243 1/24/2022
1.0.102 164,997 12/29/2021
1.0.101 31,237 12/20/2021
1.0.100 3,863 12/13/2021
1.0.99 31,617 12/7/2021
1.0.98 30,405 12/6/2021
1.0.97 2,103 12/6/2021
1.0.96 3,823 12/2/2021
1.0.95 31,946 11/29/2021
1.0.94 30,720 11/22/2021
1.0.93 2,210 11/17/2021
1.0.92 2,144 11/14/2021
1.0.91 30,891 11/13/2021
1.0.90 2,219 11/11/2021
1.0.89 2,179 11/11/2021
1.0.88 2,235 11/10/2021
1.0.87 2,329 11/9/2021
1.0.86 65,197 11/5/2021
1.0.85 2,336 11/5/2021
1.0.84 2,228 11/4/2021
1.0.83 2,182 11/4/2021
1.0.82 2,127 11/3/2021
1.0.81 2,353 10/30/2021
1.0.80 33,768 10/21/2021
1.0.79 2,754 10/17/2021
1.0.78 64,163 10/14/2021
1.0.77 13,641 10/13/2021
1.0.76 2,286 10/12/2021
1.0.75 34,277 10/11/2021
1.0.74 2,190 10/9/2021
1.0.73 37,601 10/7/2021
1.0.72 39,575 10/7/2021
1.0.71 2,278 10/7/2021
1.0.70 2,226 10/6/2021
1.0.69 2,311 9/28/2021
1.0.68 36,585 9/23/2021
1.0.67 2,493 9/11/2021
1.0.66 1,990 9/10/2021
1.0.65 2,009 9/9/2021
1.0.64 1,952 9/8/2021
1.0.63 1,960 9/8/2021
1.0.62 33,348 9/6/2021
1.0.61 2,170 8/31/2021
1.0.60 2,149 8/30/2021
1.0.59 36,081 7/31/2021
1.0.58 62,711 7/30/2021
1.0.57 2,576 7/26/2021
1.0.56 92,767 7/5/2021
1.0.55 2,539 7/1/2021
1.0.54 65,822 6/4/2021
1.0.53 94,352 4/26/2021
1.0.52 33,708 4/19/2021
1.0.51 153,962 4/7/2021
1.0.50 33,030 4/3/2021
1.0.49 183,045 3/22/2021
1.0.48 116,007 3/4/2021
1.0.47 36,028 2/26/2021
1.0.46 171,588 2/2/2021
1.0.45 60,191 1/26/2021
1.0.44 59,467 1/24/2021
1.0.43 2,791 1/24/2021
1.0.42 2,947 1/23/2021
1.0.41 60,910 1/20/2021
1.0.40 2,868 1/20/2021
1.0.39 31,555 1/18/2021
1.0.38 2,858 1/18/2021
1.0.37 30,598 1/16/2021
1.0.36 121,735 12/16/2020
1.0.35 58,426 12/14/2020
1.0.34 36,007 12/9/2020
1.0.33 5,156 12/6/2020
1.0.32 3,353 12/2/2020
1.0.31 3,237 12/2/2020
1.0.30 31,639 12/1/2020
1.0.29 188,998 11/12/2020
1.0.29-atestpub 1,548 11/11/2020
1.0.28 32,774 10/11/2020
1.0.27 114,712 9/9/2020
1.0.26 31,232 9/3/2020
1.0.25 31,838 8/20/2020
1.0.24 87,414 8/9/2020
1.0.23 31,989 7/28/2020
1.0.22 31,046 7/19/2020
1.0.21 58,350 7/6/2020
1.0.20 87,659 6/6/2020
1.0.19 32,391 6/4/2020
1.0.18 59,730 5/29/2020
1.0.17 59,680 5/21/2020
1.0.16 3,928 5/17/2020
1.0.15 60,414 5/12/2020
1.0.14 117,455 5/4/2020
1.0.13 8,044 4/24/2020
1.0.12 10,611 4/22/2020
1.0.11 3,742 4/22/2020
1.0.10 3,758 4/21/2020
1.0.9 33,965 4/18/2020
1.0.8 31,897 4/16/2020
1.0.7 3,686 4/16/2020
1.0.6 27,085 4/15/2020
1.0.5 29,791 4/11/2020
1.0.4 28,592 4/3/2020
1.0.3 3,344 4/1/2020
1.0.2 14,943 3/27/2020
1.0.1 13,921 3/22/2020
1.0.0 5,871 3/22/2020

SpanReader, SpanWriter supported backward Position moving.