You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: