Writes the JSON representation of the object.
protected override void WriteCore(JsonWriter writer, DateTime value, JsonSerializer serializer)