Skip to content

Releases: Open-NET-Libraries/Open.Serialization

Microsoft.Extensions.DependencyInjection support.

13 Jan 06:11
Compare
Choose a tag to compare

This release wraps up the intention to not only facilitate DI but to assist in using it.
See the README.md for more details.

Core Interfaces & Extensions

https://www.nuget.org/packages/Open.Serialization
Core package for serializing anything.

https://www.nuget.org/packages/Open.Serialization.Json
Core package specific to JSON.

Library/Vendor Specific Implementations

services.AddJsonSerializer();

The following libs contain support for Microsoft.Extensions.DependencyInjection.
Import any of these and you can use the above extension to inject default serializers.

https://www.nuget.org/packages/Open.Serialization.Json.Newtonsoft
Extensions and DI for Newtonsoft.Json.

https://www.nuget.org/packages/Open.Serialization.Json.System
Extensions and DI for System.Text.Json. Note: There is no IJsonObjectSerializer option for System.Text.Json.

https://www.nuget.org/packages/Open.Serialization.Json.Utf8Json
Extensions and DI for Utf8Json.