Interface IJsonApiWriter
- Namespace
- JsonApiDotNetCore.Serialization.Response
- Assembly
- JsonApiDotNetCore.dll
Serializes ASP.NET models into the outgoing JSON:API response body.
[PublicAPI]
public interface IJsonApiWriter
Methods
WriteAsync(object?, HttpContext)
Writes an object to the response body.
Task WriteAsync(object? model, HttpContext httpContext)
Parameters
model
objecthttpContext
HttpContext