C#services.AddControllers().AddJsonOptions(options =>{ options.JsonSerializerOptions.Converters.Add(new JsonPropertyNameEnumConverter(JsonNamingPolicy.CamelCase)); options.JsonSerializerOptions.Converters.Add(new DoubleConvertor()); options.JsonSerializerOptions.Converters.Add(new FloatConvertor()); options.JsonSerializerOptions.PropertyNameCaseInsensitive = true;});