added options factory

This commit is contained in:
StevanFreeborn
2022-07-08 16:43:32 -05:00
parent 16fe8039bb
commit bd78272a30
6 changed files with 21 additions and 15 deletions
+15
View File
@@ -0,0 +1,15 @@
using System.Text.Json;
namespace server.tests.Options
{
internal static class OptionsFactory
{
public static JsonSerializerOptions GetJsonSerializerOptions()
{
return new JsonSerializerOptions
{
PropertyNameCaseInsensitive = true
};
}
}
}