public DateTime Unmarshall(JsonUnmarshallerContext context) { DateTime ret; Double seconds; if (Double.TryParse(context.ReadText(), NumberStyles.Any, CultureInfo.InvariantCulture, out seconds)) { ret = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc); ret = ret.AddSeconds(seconds); } else { ret = SimpleTypeUnmarshaller <DateTime> .Unmarshall(context); } return(ret); }
public long Unmarshall(UnmarshallerContext context) { return(SimpleTypeUnmarshaller <long> .Unmarshall(context)); }
public int Unmarshall(UnmarshallerContext context) { return(SimpleTypeUnmarshaller <int> .Unmarshall(context)); }
public DateTime Unmarshall(UnmarshallerContext context) { return(SimpleTypeUnmarshaller <DateTime> .Unmarshall(context)); }
public byte Unmarshall(UnmarshallerContext context) { return(SimpleTypeUnmarshaller <byte> .Unmarshall(context)); }
public bool Unmarshall(UnmarshallerContext context) { return(SimpleTypeUnmarshaller <bool> .Unmarshall(context)); }
public double Unmarshall(UnmarshallerContext context) { return(SimpleTypeUnmarshaller <double> .Unmarshall(context)); }
public float Unmarshall(UnmarshallerContext context) { return(SimpleTypeUnmarshaller <float> .Unmarshall(context)); }
public string Unmarshall(JsonUnmarshallerContext context) { return(SimpleTypeUnmarshaller <string> .Unmarshall(context)); }
public decimal Unmarshall(JsonUnmarshallerContext context) { return(SimpleTypeUnmarshaller <decimal> .Unmarshall(context)); }