Repository navigation
Releases
Releases · gcsizmadia/json
11.0.0
- CHANGED: target frameworks.
- REMOVED:
net8.0andnet9.0 - ADDED:
net11.0
- REMOVED:
- UPDATED: nuget package dependencies
- System.Text.Json
netstandard2.0,netstandard2.1,net472,net10.0: from10.0.13to11.0.0net11.0: provided by .NET runtime (currently11.0.0)
- EgonsoftHU.Extensions.Bcl
- from
10.0.0to11.0.0
- from
- System.Text.Json
- CHANGED:
JsonSerializerOptions.CopyTo()extension method now has anoverrideTypeInfoResolveroptional parameter that defaults tofalse. So by default, theTypeInfoResolverproperty will no longer be overridden.
Full Changelog: v10.0.0...v11.0.0
10.0.0
This release includes significant refactoring, modernization, and improvements to support newer .NET versions.
- CHANGED: target frameworks.
- REMOVED:
net462andnet6.0 - ADDED:
net472andnet10.0
- REMOVED:
- UPDATED: nuget package dependencies
- System.Text.Json
netstandard2.0,netstandard2.1,net472,net8.0,net9.0: from8.0.5to10.0.13net10.0: provided by .NET runtime (currently10.0.13)
- EgonsoftHU.Extensions.Bcl
- from
3.0.1to10.0.0
- from
- System.Text.Json
- CHANGED: complete rewrite of enum serialization.
- REMOVED:
AppContextswitch - ADDED:
AddEgonsoftJsonStringEnumConverter()extension method intoJsonSerializerOptionsExtensions.
Full Changelog: v2.0.0...v10.0.0
2.0.0
- CHANGED: target frameworks.
- REMOVED:
netcoreapp3.1 - ADDED:
net8.0andnet9.0
- REMOVED:
- UPDATED: nuget package dependencies
- System.Text.Json
netstandard2.0,netstandard2.1,net462andnet6.0: from7.0.3to8.0.5net8.0:8.0.5net9.0: provided by .NET runtime (currently9.0.0-rc.2.24473.5)
- EgonsoftHU.Extensions.Bcl
- from
2.0.0to3.0.1
- from
- System.Text.Json
- CHANGED: complete rewrite of enum serialization.
- ADDED: Support for any attribute.
E.g.JsonStringEnumMemberNameAttribute,EnumMemberAttribute,DescriptionAttribute,DisplayNameAttribute - ADDED: Support for custom serialization by providing a base class with access to all the attributes of an enum member.
- ADDED: Support for any attribute.
- ADDED:
AppContextswitch to support a safe migration when early-adoptingJsonStringEnumMemberNameAttribute(i.e. using a copy of the attribute instead of referencing an RC version ofSystem.Text.Jsonpackage) - ADDED:
JsonSerializerOptionsProvider
It provides read-only default settings (Default,DefaultWriteIndented) and a writable current setting (Current).
Full Changelog: v1.1.0...v2.0.0
1.1.0
- FIXED: concurrency issue with
EnumMemberInfo<TEnum>.Cacheproperty - FIXED: exception message in case of undefined enum member
- UPDATED: nuget package dependencies
- System.Text.Json
- from
6.0.7to6.0.8in case ofnetcoreapp3.1 - from
7.0.2to7.0.3in case ofnetstandard2.0,netstandard2.1,net462andnet6.0
- from
- System.Text.Json
1.0.0
Initial version.
-
ADDED:
EgonsoftHU.Text.Json.Serialization.JsonStringEnumConverterSerialization value precedence:
EnumMemberAttribute.Valueproperty value.- The enum member name converted by the specified
JsonNamingPolicy. - The enum member name as it is written.
Deserialization:
- Matches if the JSON string value equals to one of the above mentioned three serialized values.
- The equality check is case insensitive.