Fetchgoods.Text.Json.Extensions 0.1.0

Install-Package Fetchgoods.Text.Json.Extensions -Version 0.1.0
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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>();

// ...

  • .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 574 6/29/2020