public static boolean isNullObject ( JSONObject jsonObject , String key ) throws JSONException { checkArguments ( jsonObject , key ) ; JSONValue value = jsonObject . get ( key ) ; boolean isNull = false ; if ( value == null || value . isNull ( ) != null ) { isNull = true ; } return isNull ; }
checks if a certain object value is null .