public int getIntValue(String key) {
        return getIntValue(key, 0);
    }
Returns an int value of the associated keys in this {@link JSONObject}.

@param key the key whose associated value is to be returned
@return int
@throws NumberFormatException If the value of get is {@link String} and it contains no parsable int
@throws JSONException Unsupported type conversion to int value
core/src/main/java/com/alibaba/fastjson2/JSONObject.java