public static TIdentity Parse(string id)
 {
     return(IdConverter.Convert <TIdentity>(id));
 }
 public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
 {
     return(IdConverter.Convert(reader.Value as string, objectType));
 }