Browse Source

Use file scoped namespace.

pull/2123/head
Eric Erhardt 1 year ago
parent
commit
42e161d1f9
1 changed files with 6 additions and 7 deletions
  1. +6
    -7
      src/Services/Services.Common/JsonHelper.cs

+ 6
- 7
src/Services/Services.Common/JsonHelper.cs View File

@ -1,12 +1,11 @@
using System.Text.Json;
namespace Services.Common
namespace Services.Common;
public static class JsonHelper
{
public static class JsonHelper
public static readonly JsonSerializerOptions CaseInsensitiveOptions = new()
{
public static readonly JsonSerializerOptions CaseInsensitiveOptions = new()
{
PropertyNameCaseInsensitive = true
};
}
PropertyNameCaseInsensitive = true
};
}

Loading…
Cancel
Save