Fetchgoods.Text.Json.Extensions 0.1.0

.NET Core 3.1
NuGet\Install-Package Fetchgoods.Text.Json.Extensions -Version 0.1.0
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.
dotnet add package Fetchgoods.Text.Json.Extensions --version 0.1.0
<PackageReference Include="Fetchgoods.Text.Json.Extensions" Version="0.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Fetchgoods.Text.Json.Extensions --version 0.1.0
#r "nuget: Fetchgoods.Text.Json.Extensions, 0.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Fetchgoods.Text.Json.Extensions as a Cake Addin
#addin nuget:?package=Fetchgoods.Text.Json.Extensions&version=0.1.0

// Install Fetchgoods.Text.Json.Extensions as a Cake Tool
#tool nuget:?package=Fetchgoods.Text.Json.Extensions&version=0.1.0

Text.Json.Extensions

Provides convenience extension methods and configurable default settings for .Net Core's JsonSerializer

Usage


using Fetchgoods.Text.Json.Extensions;

// ...

class Animal
{
    public string Species { get; set; }
    public int Legs { get; set; }
    public string Sound { get; set; }
}

string text = @"{""Species"": ""Cat"", ""Legs"": 4, ""Sound"": ""Meow!"" }";
            
var cat = text.FromJsonTo<Animal>();

// ...

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp3.1
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.0 762 6/29/2020