InterfaceConverter.SystemTextJson
1.1.0
See the version list below for details.
dotnet add package InterfaceConverter.SystemTextJson --version 1.1.0
NuGet\Install-Package InterfaceConverter.SystemTextJson -Version 1.1.0
<PackageReference Include="InterfaceConverter.SystemTextJson" Version="1.1.0" />
<PackageVersion Include="InterfaceConverter.SystemTextJson" Version="1.1.0" />
<PackageReference Include="InterfaceConverter.SystemTextJson" />
paket add InterfaceConverter.SystemTextJson --version 1.1.0
#r "nuget: InterfaceConverter.SystemTextJson, 1.1.0"
#addin nuget:?package=InterfaceConverter.SystemTextJson&version=1.1.0
#tool nuget:?package=InterfaceConverter.SystemTextJson&version=1.1.0
Interface converter for System.Text.Json
Description
Use this converter when you need to serialize and deserialize interface types, or list of object with single interface.
Deserialized entity has the original type as serialized.
Usage
Specify JsonInterfaceConverter
on any interface you want to serialize using this converter.
[JsonInterfaceConverter(typeof(InterfaceConverter<IExample>))]
public interface IExample
{
int Id { get; set; }
string Name { get; set; }
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
-
net6.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on InterfaceConverter.SystemTextJson:
Package | Downloads |
---|---|
GreatUtilities.Infrastructure
Essencial tools to agile development. |
|
AgPower.DTO
Package Description |
|
SharpSceneSerializer
Package Description |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on InterfaceConverter.SystemTextJson:
Repository | Stars |
---|---|
VladislavAntonyuk/MauiSamples
.NET MAUI Samples
|
Add InterfaceWriteConverter for only serialization without exposing the type of the entity to JSON.