@Override
    public Integer parse(JsonParser jsonParser) throws IOException {
        if (jsonParser.getCurrentToken() == JsonToken.VALUE_NULL) {
            return null;
        } else {
            return jsonParser.getIntValue();
        }
    }
Built-in mapper for Integer objects
core/src/main/java/com/bluelinelabs/logansquare/internal/objectmappers/IntegerMapper.java