I recently started working with KnockoutJs and quickly realized using the default Json(myModelWithADate) resulted in the default json encoding of \\/Date(
Json(myModelWithADate)
\\/Date(
A cleaner alternative to @photo_tom's answer is to decorate the property with the IsoDateTimeConverter via the JsonConverter attribute, like so:
public class MyClass { [JsonConverter(typeof(IsoDateTimeConverter))] public DateTime Timestamp { get; set; } }