@Override
  public Object decode(Response response, Type type) throws IOException {

    Transformer transformer = findTransformer(response, type);

    if (response.status() == 404 || response.status() == 204) {
      return Util.emptyValueOf(type);
    }
    if (response.body() == null) {
      return null;
    }
    Reader reader = response.body().asReader(response.charset());
    if (!reader.markSupported()) {
      reader = new BufferedReader(reader, 1);
    }
    try {
      // Read the first byte to see if we have any data
      reader.mark(1);
      if (reader.read() == -1) {
        return null; // Eagerly returning null avoids "No content to map due to end-of-input"
      }
      reader.reset();
      return transformer.apply(mapper, reader);
    } catch (JSONObjectException e) {
      if (e.getCause() instanceof IOException) {
        throw (IOException) e.getCause();
      }
      throw e;
    }
  }
Construct with a series of {@link JacksonJrExtension} objects that are registered into the
{@link JSON}

@param iterable the source of the extensions
jackson-jr/src/main/java/feign/jackson/jr/JacksonJrDecoder.java