Table of Contents

Interface IJsonApiReader

Namespace
JsonApiDotNetCore.Serialization.Request
Assembly
JsonApiDotNetCore.dll

Deserializes the incoming JSON:API request body and converts it to models, which are passed to controller actions by ASP.NET on FromBody parameters.

[PublicAPI]
public interface IJsonApiReader

Methods

ReadAsync(HttpRequest)

Reads an object from the request body.

Task<object?> ReadAsync(HttpRequest httpRequest)

Parameters

httpRequest HttpRequest

Returns

Task<object>