Open.Serialization.Json.Utf8Json 2.3.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Open.Serialization.Json.Utf8Json --version 2.3.1                
NuGet\Install-Package Open.Serialization.Json.Utf8Json -Version 2.3.1                
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="Open.Serialization.Json.Utf8Json" Version="2.3.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Open.Serialization.Json.Utf8Json --version 2.3.1                
#r "nuget: Open.Serialization.Json.Utf8Json, 2.3.1"                
#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.
// Install Open.Serialization.Json.Utf8Json as a Cake Addin
#addin nuget:?package=Open.Serialization.Json.Utf8Json&version=2.3.1

// Install Open.Serialization.Json.Utf8Json as a Cake Tool
#tool nuget:?package=Open.Serialization.Json.Utf8Json&version=2.3.1                

Open.Serialization

DI/IoC agnostic interfaces for injecting any serialization library.

Implementation

With the following libraries, you can build other libraries that sever their dependency from any serializer and allow you to inject whichever you want. You can also easily integrate another serializer and still retain the DI/IoC happiness.

Core Interfaces & Extensions

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

https://www.nuget.org/packages/Open.Serialization.Json
NuGet 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
NuGet Extensions and DI for Newtonsoft.Json.

https://www.nuget.org/packages/Open.Serialization.Json.System
NuGet 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
NuGet Extensions and DI for Utf8Json.

Interface & Methods Exposed

T IDeserialize.Deserialize<T>(string value);
T IDeserialize<T>.Deserialize(string value);
object IDeserializeObject.Deserialize(string value, Type type);

ValueTask<T> IDeserializeAsync.DeserializeAsync<T>(Stream source, CancellationToken cancellationToken = default);
ValueTask<T> IDeserializeAsync<T>.DeserializeAsync(Stream source, CancellationToken cancellationToken = default);
ValueTask<object> IDeserializeObjectAsync.DeserializeAsync(Stream source, Type type, CancellationToken cancellationToken = default);

string ISerialize.Serialize<T>(T item);
string ISerialize<T>.Serialize(T item);
string ISerializeObject.Serialize(object item, Type type);

ValueTask ISerializeAsync.SerializeAsync<T>(Stream target, T item, CancellationToken cancellationToken = default);
ValueTask ISerializeAsync<T>.SerializeAsync(Stream target, T item, CancellationToken cancellationToken = default);
ValueTask ISerializeObjectAsync.SerializeAsync(Stream target, object item, Type type, CancellationToken cancellationToken = default);
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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. 
.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 is compatible. 
.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 (10)

Showing the top 5 NuGet packages that depend on Open.Serialization.Json.Utf8Json:

Package Downloads
Convey.WebApi

Convey.WebApi

Else.Convey.WebApi

Convey.WebApi

Genocs.WebApi

The web api library

Joint.WebApi

This package its created for common functionality.

Joint.Exception

This package its created for common functionality.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Open.Serialization.Json.Utf8Json:

Repository Stars
snatch-dev/Convey
A simple recipe for .NET Core microservices.
Version Downloads Last updated
3.0.0 25,779 5/23/2022
2.3.1 357,096 7/18/2020
2.2.4 127,403 1/17/2020
2.2.3 660 1/14/2020
2.2.2 733 1/12/2020
1.4.1 70,876 12/20/2019
1.4.0 1,176 12/17/2019
1.3.2 639 12/17/2019
1.2.2 20,378 10/31/2019