After serializing an object with DateTime field with JavaScriptSerializer, I see that the DateTime field looks like this:
DateTime
JavaScriptSerializer
var obj = { EffectiveFrom: "/Date(1355496152000)/" }; //parse the Date value and replace the property value with Date object: var dateValue = parseInt(obj.EffectiveFrom.replace(/\/Date\((\d+)\)\//g, "$1")); obj.EffectiveFrom = new Date(dateValue);