Ejemplo n.º 1
0
 public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
 {
     if (reader.TokenType == JsonToken.String)
     {
         var readAsString = (string)reader.Value;
         return(TimeGuid.Parse(readAsString));
     }
     return(null);
 }