e.g.
i got a class named Person:
public class Person
{
public string Name { get; set; }
public DateTime Birth { get; set; }
}
and i want to convert this object to a customer json string like this
{
"Name":"Tom",
"Birth":{"Year":1999,"Month":12,"Day":1}
}