using System.Collections.Generic;
using System.Text.Json.Serialization;
using Newtonsoft.Json.Serialization;
using Newtonsoft.Json.Converters;
public static void Main()
var settings = new JsonSerializerSettings{ContractResolver = new DefaultContractResolver{NamingStrategy = new SnakeCaseNamingStrategy(), }};
settings.Converters.Add(new IsoDateTimeConverter{DateTimeFormat = "yyyy-MM-dd HH:mm:ss"});
var result = Newtonsoft.Json.JsonConvert.DeserializeObject<Root>(json, settings);
Console.WriteLine(result.Order.CreatedAt.ToString("yyyy-MM-dd hh:mm:ss tt"));
private static string GetJson()
""created_at"": ""2015-11-29T13:15:27+00:00"",
[JsonPropertyName("created_at")]
public DateTime CreatedAt
[JsonPropertyName("order")]