We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MaxDepth
1 parent e80c2ba commit 2532f44Copy full SHA for 2532f44
src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DefaultRequestResponseSerializer.cs
@@ -151,8 +151,8 @@ private static void MutateOptions(JsonSerializerOptions options)
151
);
152
#pragma warning restore IL2026, IL3050
153
154
+ options.MaxDepth = 512;
155
options.DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull;
- options.IncludeFields = true;
156
options.NumberHandling = JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.AllowNamedFloatingPointLiterals;
157
options.PropertyNamingPolicy = JsonNamingPolicy.CamelCase;
158
}
0 commit comments