Move from the hand.
This commit is contained in:
@@ -63,8 +63,6 @@ static void ConfigureDependencies(IServiceCollection services, IConfiguration co
|
||||
|
||||
var serializerOptions = new JsonSerializerOptions
|
||||
{
|
||||
DictionaryKeyPolicy = JsonNamingPolicy.CamelCase,
|
||||
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
|
||||
WriteIndented = true
|
||||
};
|
||||
services.AddScoped((sp) => serializerOptions);
|
||||
|
||||
Reference in New Issue
Block a user