code: @Override
      public E doDeserialize( JsonReader reader, JsonDeserializationContext ctx, JsonDeserializerParameters params ) {
          try {
              return Enum.valueOf( enumClass, reader.nextString() );
          } catch ( IllegalArgumentException ex ) {
              if ( ctx.isReadUnknownEnumValuesAsNull() ) {
                  return null;
              }
              throw ex;
          }
      }
docs: {@inheritDoc}