An ASP.NET Core implementation of the JSON:API specification using Jsonyte and System.Text.Json
.
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());
}
}
See the wiki for examples and help using Jsonyte.
Discuss with us on Discussions, or raise an issue.
Please read CONTRIBUTING.md for details on how to contribute to this project.
Jsonyte is released under the MIT License