Skip to content

JsonSerializerModelBinder Class

A model binder that uses JSON serialization to bind data to objects.

C#
public class JsonSerializerModelBinder : Abblix.Oidc.Server.Mvc.Binders.ModelBinderBase

Inheritance System.ObjectModelBinderBase → JsonSerializerModelBinder

Remarks

This model binder utilizes the System.Text.Json.JsonSerializer to deserialize the incoming data into the specified type. It is particularly useful for scenarios where the incoming request data is in JSON format and needs to be converted into complex objects. This binder can be applied to various types of data sources such as query strings, form data, or headers, allowing for flexible data binding from JSON content.