I have a class where the properties have decorators when I serialize a json string I am expecting to bind the data with the Column decorator case. but its not taking in such a way.
public class SaveDtails
{
[Column("DetailId")]
public Guid? detailUid { get; set; }
}
When serialize with the below code
string jSONString = JsonConvert.SerializeObject(dtpod);
I am expecting the Json as
{"DetailId" :"value"}
instead of
{"detailUid" :"value"}