We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3181faf commit 48f26e3Copy full SHA for 48f26e3
1 file changed
API_Consumer/Consumers/Helper.cs
@@ -14,15 +14,13 @@ namespace SQLAPI_Consumer
14
/// </summary>
15
public static class Helper
16
{
17
- static Helper()
+ private static readonly JsonSerializerSettings _serializerSettings = new JsonSerializerSettings
18
19
- // Add this static constructor to set global JSON parsing depth limit
20
// https://github.com/advisories/GHSA-5crp-9r3c-p9vr related codes
21
- JsonConvert.DefaultSettings = () => new JsonSerializerSettings
22
- {
23
- MaxDepth = 128 // Recommended depth limit
24
- };
25
- }
+ MaxDepth = 128, // Recommended depth limit
+ CheckAdditionalContent = true,
+ DateFormatHandling = DateFormatHandling.IsoDateFormat
+ };
26
27
/// <summary>
28
/// Static method used to Send multiple columns as result set thought Lists of string.
0 commit comments