Skip to content

ReadJson Method ​

Definition ​

  • Namespace: JASE.Extensions
  • Assembly: JASE.Web.dll

Task<T> ReadJson(HttpContext context, JsonSerializerOptions options = null, CancellationToken cancellationToken = null) ​

csharp
Task<T> ReadJson(HttpContext context, JsonSerializerOptions options = null, CancellationToken cancellationToken = null)

Async deserializaztion on HttpRequest body to an object type

Returns ​

Object T