public override object ReadJson(
     JsonReader reader,
     Type objectType,
     object existingValue,
     JsonSerializer serializer)
 {
     return(EnvironmentType.Parse(reader.Value as string));
 }