With the move to System.Text.Json in version 4.8+ it is no longer possible to configure requests for template models to be serialized with camel case conversion.
System.Text.Json does not have modifiable global default serializer settings like Newtonsoft.Json has and does not feature attribute-level control over the casing strategy. The only recourse to fix existing code is to painstakingly add hand-mapped [JsonProperty] remapping to camelcased names for each property on each transitively accessed model.
This is, frankly, an entirely shitty experience.
Update the library to support externally supplied serializer options, please.
With the move to System.Text.Json in version 4.8+ it is no longer possible to configure requests for template models to be serialized with camel case conversion.
System.Text.Json
does not have modifiable global default serializer settings likeNewtonsoft.Json
has and does not feature attribute-level control over the casing strategy. The only recourse to fix existing code is to painstakingly add hand-mapped[JsonProperty]
remapping to camelcased names for each property on each transitively accessed model.This is, frankly, an entirely shitty experience. Update the library to support externally supplied serializer options, please.