namespace NetinaShop.Common.Extensions
{
    public static class NewtonJsonExtensions
    {
        public static JsonSerializerSettings CamelCaseSerialize =>
            new()
            {
                ContractResolver = new DefaultContractResolver
                {
                    NamingStrategy = new CamelCaseNamingStrategy()
                },
                Formatting = Formatting.Indented
            };
    }
}