diff --git a/src/TypedRest/Serializers/SystemTextJsonSerializer.cs b/src/TypedRest/Serializers/SystemTextJsonSerializer.cs index 1719607d..4a4ef074 100644 --- a/src/TypedRest/Serializers/SystemTextJsonSerializer.cs +++ b/src/TypedRest/Serializers/SystemTextJsonSerializer.cs @@ -21,9 +21,8 @@ public SystemTextJsonSerializer() /// /// Serializer options. /// - public JsonSerializerOptions Options { get; } = new() + public JsonSerializerOptions Options { get; } = new(JsonSerializerDefaults.Web) { - PropertyNamingPolicy = JsonNamingPolicy.CamelCase, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull };