It's resolved by add another private property with alter name. Then the class will support to convert both CreateDate and Create_Date with a single display name;
public DateTimeOffset CreateDate { get; set; }
[JsonProperty("Create_Date")]
private DateTimeOffset CreateDate2
{
set => CreateDate = value;
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…