title: Issue with de-serialization from json to object containing enums
body: <p>Having issue with enum de-serialization using jackson2.9.8. Same works fine with Gson.
  Model is Auto generated from swagger api definition</p>
  
  <p>using Gson, it works fine. With jackson it doesn't work for 011, 013 and 019 but work for other values</p>
  
  <p>snippet of Swagger api definition </p>
  
  <p>serviceCode:
            type: string
            enum:
              - "001"
              - "002"
              - "003"
              - "004"
              - "005"
              - "007"
              - "008"
              - "009"
              - "011"
              - "013"
              - "019"</p>
  
  <p>Auto generated code ( removed the getter/setter for readability)</p>
  
  <pre><code>public class ProcessErrorTest1 {
      static String errorJson =
              "    {\n" +
              "      \"timestamp\": \"2019-07-29 11:55:48\",\n" +
              "      \"serviceCode\": \"019\",\n" +
              "      \"message\": \"service failed. \",\n" +
              "      \"rootException\": {\n" +
              "        \"source\": \"test\",\n" +
              "        \"reasonCode\": \"2131\",\n" +
              "        \"reasonText\": \"test\"\n" +
              "      }\n" +
              "}";
  
      public static void main(String[] args) throws Exception {
          ObjectMapper mapper = new ObjectMapper();
          AppErrorResponse error = mapper.readValue(errorJson, AppErrorResponse.class);
         // Gson gson = new Gson();
          //AppErrorResponse error = gson.fromJson(errorJson, AppErrorResponse.class);
          System.out.println("error::" + error);
      }
  }
  
  public class AppErrorResponse {
  
    @SerializedName("message")
    private String message = null;
  
    @SerializedName("rootException")
    private ErrorResponse rootException = null;
    /**
     * Gets or Sets serviceCode
     */
    @JsonAdapter(ServiceCodeEnum.Adapter.class)
    public enum ServiceCodeEnum {
      _001("001"),
      _002("002"),
      _003("003"),
       _004("004"),
      _005("005"),
      _007("007"),
      _008("008"),
      _009("009"),
      _011("011"),
      _013("013"),
     // @JsonProperty("019") if add this , it works fine. But can't modify the auto generated code as it is available as jar
      _019("019");
    }
    @SerializedName("serviceCode")
    private ServiceCodeEnum serviceCode = null;
  
    @SerializedName("timestamp")
    private String timestamp = null;
  
  }
  
  public class ErrorResponse {
  
    @SerializedName("reasonCode")
    private String reasonCode = null;
  
    @SerializedName("reasonText")
    private String reasonText = null;
  
    @SerializedName("source")
    private String source = null;
  }
  </code></pre>
  
  <p>jersey1:jackson generated code</p>
  
  <pre><code>import java.util.Objects;
  import com.bt.consumer.appointment.dto.MAC2ErrorResponse;
  import com.fasterxml.jackson.annotation.JsonProperty;
  import com.fasterxml.jackson.annotation.JsonCreator;
  import com.fasterxml.jackson.annotation.JsonValue;
  public class AppErrorResponse {
    @JsonProperty("message")
    private String message = null;
  
    @JsonProperty("rootException")
    private ErrorResponse rootException = null;
  
    public enum ServiceCodeEnum {
      _001("001"),
      _002("002"),
      _003("003"),
      _004("004"),
      _005("005"),
      _007("007"),
      _008("008"),
      _009("009"),
      _011("011"),
      _013("013"),
      _019("019");
  
      private String value;
  
      ServiceCodeEnum(String value) {
        this.value = value;
      }
      @JsonValue
      public String getValue() {
        return value;
      }
  
      @Override
      public String toString() {
        return String.valueOf(value);
      }
      @JsonCreator
      public static ServiceCodeEnum fromValue(String text) {
        for (ServiceCodeEnum b : ServiceCodeEnum.values()) {
          if (String.valueOf(b.value).equals(text)) {
            return b;
          }
        }
        return null;
      }
  
    }
    @JsonProperty("serviceCode")
    private ServiceCodeEnum serviceCode = null;
  
    @JsonProperty("timestamp")
    private String timestamp = null;
  }
  
  import java.util.Objects;
  import com.fasterxml.jackson.annotation.JsonProperty;
  import com.fasterxml.jackson.annotation.JsonCreator;
  import com.fasterxml.jackson.annotation.JsonValue;
  public class ErrorResponse {
    @JsonProperty("reasonCode")
    private String reasonCode = null;
  
    @JsonProperty("reasonText")
    private String reasonText = null;
  
    @JsonProperty("source")
    private String source = null;
  }
  </code></pre>
  
  <p>It works fine for all apart from _011, _013 and _019 using jackson
  Error meessage:-
  com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type <code>ServiceCodeEnum</code> from String "011": value not one of declared Enum instance names: [_011, _001, _002, _003, _004, _005, _007, _008, _009, _013, _019]</p>