using Newtonsoft.Json.Linq;
public static void Main()
{ var entry = @"{""xb"":""XXXXX1631"",""xfc"":1,""xcuid"":""6501621988059"",""xcmail"":""mpyyxQNoNiyrPYSEtiz6ew=="",""xgid"":""6AMDV2"",""createdat"":""2021-11-20T11:04:26.941Z"",""ip"":""182.55.40.180"",""proto"":""https"",""user_agent"":""Dalvik/2.1.0 (Linux; U; Android 11; SM-N975F Build/RP1A.200720.012) Mobile"",""clean"":""9.1.1.0.1"",""cm"":0,""userid"":""25f6543d-cc25-4480-b234-42098f79ac89"",""clickid"":""25f6543d-cc25-1632393849"",""clickpath"":""25f6543d-cc25-1610151390,25f6543d-cc25-1621444109,25f6543d-cc25-1623370217,25f6543d-cc25-1632393849"",""domain"":""com.sephora.digital"",""xos"":""android"",""xosv"":""11"",""xdm"":""SM-N975F"",""xdv"":""samsung"",""xdc"":""StarHub"",""xmv"":""M1.2.19"",""xmcv"":""3.6.2"",""xunparsed"":""{}"",""user_agent_device"":""mobile"",""user_agent_os"":""Android"",""user_agent_browser"":""Other"",""ip_country"":""Singapore"",""ip_region"":""Singapore"",""ip_city"":""Singapore"",""ip_country_short"":""SG""}";
var entryParsed = JObject.Parse(entry);
var conversionLogNewEntry = entryParsed.ToObject<ConversionLogNew>(JsonSerializer.CreateDefault(new JsonSerializerSettings {}));
public class ConversionLogNew
public long Id { get; set; }
public int AgencyId { get; set; }
public int BusinessProfileId { get; set; }
public bool IsOffline { get; set; }
public DateTime CreatedAt { get; set; }
public int S3BatchId { get; set; }
public int? FileId { get; set; }
public int Version { get; set; }
public DateTime? BusinessProfileCollectedAt { get; set; }
public DateTime? CollectedAt { get; set; }
public string xb { get; set; }
public string xt { get; set; }
public decimal xcv { get; set; }
public string xcc { get; set; }
public string xfc { get; set; }
public string xcart { get; set; }
public string xtid { get; set; }
public double xqty { get; set; }
public string xcuid { get; set; }
public string xcmail { get; set; }
public string xcphone { get; set; }
public decimal xstage1 { get; set; }
public decimal xstage2 { get; set; }
public decimal xstage3 { get; set; }
public decimal xstage4 { get; set; }
public decimal xstage5 { get; set; }
public decimal xstage6 { get; set; }
public decimal xstage7 { get; set; }
public decimal xstage8 { get; set; }
public int xnojs { get; set; }
public string xgid { get; set; }
public string rnd { get; set; }
public string ip { get; set; }
public string proto { get; set; }
public string url { get; set; }
public string user_agent { get; set; }
public bool clean { get; set; }
public string cm { get; set; }
public string userid { get; set; }
public string clickid { get; set; }
public string clickpath { get; set; }
public string viewid { get; set; }
public string viewpath { get; set; }
public string xunparsed { get; set; }
public string user_agent_device { get; set; }
public string user_agent_os { get; set; }
public string user_agent_browser { get; set; }
public string ip_country { get; set; }
public string ip_region { get; set; }
public string ip_city { get; set; }
public string EnrichedEntityDetails { get; set; }
public decimal LTVC1 { get; set; }
public decimal LTVC2 { get; set; }
public decimal Rating { get; set; }
public decimal Revenue { get; set; }
public string xos { get; set; }
public string xosv { get; set; }
public string xdm { get; set; }
public string xdv { get; set; }
public string xdc { get; set; }
public string xdid { get; set; }
public string xicts { get; set; }
public string xits { get; set; }
public string xmref { get; set; }
public string xmv { get; set; }
public string domain { get; set; }
public string xmcv { get; set; }
public string ip_country_short { get; set; }