Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.64 KB

README.md

File metadata and controls

36 lines (26 loc) · 1.64 KB

jsonyte-aspnetcore

Docs NuGet Discussions License

An ASP.NET Core implementation of the JSON:API specification using Jsonyte and System.Text.Json.

Usage

Install the package from NuGet with dotnet add package Jsonyte.AspNetCore.

For your ASP.NET Core application, simply add the following to the startup:

public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        services
            .AddControllers()
            .AddJsonOptions(x => x.JsonSerializerOptions.AddJsonApi());
    }
}

Documentation

See the wiki for examples and help using Jsonyte.

Get in touch

Discuss with us on Discussions, or raise an issue.

Discussions

Contributing

Please read CONTRIBUTING.md for details on how to contribute to this project.

License

Jsonyte is released under the MIT License