using Newtonsoft.Json.Converters;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Infrastructure.Extensions
{
    public static class ExtensionsJson
    {
        //public static string ToJson(this object obj)
        //{
        //    IsoDateTimeConverter isoDateTimeConverter = new IsoDateTimeConverter
        //    {
        //        DateTimeFormat = "yyyy-MM-dd HH:mm:ss"
        //    };
        //    return JsonConvert.SerializeObject(obj, isoDateTimeConverter);
        //}
    }
}
