Set defaults for Json options (#10057)
This commit is contained in:
parent
7642f9d12a
commit
9c3266008a
|
|
@ -776,6 +776,10 @@ namespace Microsoft.AspNetCore.SignalR.Protocol
|
|||
options.IgnoreNullValues = false;
|
||||
options.IgnoreReadOnlyProperties = false;
|
||||
options.PropertyNamingPolicy = JsonNamingPolicy.CamelCase;
|
||||
options.PropertyNameCaseInsensitive = false;
|
||||
options.MaxDepth = 64;
|
||||
options.DictionaryKeyPolicy = null;
|
||||
options.DefaultBufferSize = 16 * 1024;
|
||||
|
||||
return options;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue