Code example for JSONObject

Methods: getString

0
        if (obj == null) {
            return null; 
        } 
         
        FreebaseType type = new FreebaseType(
            obj.getString("id"),
            obj.getString("name")
        ); 
        return type;
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE