Answers for "json property becoming small after retriving from .net core controller"

0

json property becoming small after retriving from .net core controller

public void ConfigureServices
(IServiceCollection services)
{
    services.AddControllers()
            .AddJsonOptions(options =>
                {
                    options.JsonSerializerOptions
.PropertyNamingPolicy = null;
                });
}
Posted by: Guest on January-31-2021

Code answers related to "json property becoming small after retriving from .net core controller"

Code answers related to "Javascript"

Browse Popular Code Answers by Language