Skip to main content

Newtonsoft.Json support for F23.Hateoas.

Total Downloads
311
311
Published
Mar 17, 2025
1y ago

Get Started

dotnet add package F23.Hateoas.NewtonsoftJson --version 2.0.0
ProductVersions
.NET
net8.0
.NET Standard
netstandard2.0

README

F23.Hateoas.NewtonsoftJson

This library provides compatibility between F23.Hateoas and Newtonsoft.Json.

Installation

You can install this library via NuGet:

dotnet add package F23.Hateoas.NewtonsoftJson

Usage

Add the HypermediaResponseJsonConverter and HypermediaLinkJsonConverter to the JsonSerializerSettings:

using F23.Hateoas.NewtonsoftJson;

var options = new JsonSerializerSettings
{
    Converters =
    {
        new HypermediaResponseJsonConverter(),
        new HypermediaLinkJsonConverter(),
    }
};

This can be done during ASP.NET Core startup:

builder.Services.AddControllers()
    .AddNewtonsoftJson(options =>
    {
        options.SerializerSettings.Converters.Add(new HypermediaResponseJsonConverter());
        options.SerializerSettings.Converters.Add(new HypermediaLinkJsonConverter());
    });

Downloads by Version

Not enough data for chart

Similar & Alternative Packages

Hand-picked matching NuGet libraries based on tags & ecosystem

Depended On By

Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.