jodd-json/src/main/java/jodd/json/JsonObject.java
public Long getLong(final String key, final Long def) {
		Long val = getLong(key);

		if (val == null) {
			if (map.containsKey(key)) {
				return null;
			}
			return def;
		}

		return val;
	}
public Long getLong(final String key, final Long def) {
		Long val = getLong(key);

		if (val == null) {
			if (map.containsKey(key)) {
				return null;
			}
			return def;
		}

		return val;
	}
public Long getLong ( final String key , final Long def ) { Long val = getLong ( key ) ; if ( val == null ) { if ( map . containsKey ( key ) ) { return null ; } return def ; } return val ; }
Like {@link #getLong(String)} but specifies a default value to return if there is no entry.
Like {