Use file scoped namespace.
This commit is contained in:
parent
fd76f390ef
commit
42e161d1f9
@ -1,12 +1,11 @@
|
|||||||
using System.Text.Json;
|
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…
x
Reference in New Issue
Block a user