You could have typed the parameter and result as ```JSONObject```.