public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) { string value = (string)reader.Value; return(AreaType.FromCode(value)); }
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) { string value = (string)reader.Value; return(AreaType.FromCode(value)); }