Method ConfigureJsonCodec(RedbRouteBuilder, Action<JsonSerializerOptions>)

Assembly: redb.Route.dll

Replaces the default application/json codec in the route context's
with one built from the supplied action.

public static RedbRouteBuilder ConfigureJsonCodec(this RedbRouteBuilder builder, Action<JsonSerializerOptions> configure)

Remarks

Profile-scoped codecs (SCIM, Problem Details, …) registered by other modules
(e.g. AddRedbIdentityServer) are not affected — this tunes only the
generic application/json entry.