Build helper class and apply it to your property attribute
Helper class:
public class ESDateTimeConverter : IsoDateTimeConverter
{
public ESDateTimeConverter()
{
base.DateTimeFormat = "yyyy-MM-ddTHH:mm:ss.fffZ";
}
}
Your code use like this:
[JsonConverter(typeof(ESDateTimeConverter))]
public DateTime timestamp { get; set; }