title: Convert JSONObject to ParseObject
body: <p>I am using Parse cloud code, I have set the return type of the cloud code as <code>List&lt;ParseObject&gt;</code>.</p>
  
  <pre><code>ParseCloud.callFunctionInBackground("getObjects", params, new
                  FunctionCallback&lt;List&lt;ParseObject&gt;&gt;() {
                      @Override
                      public void done(List&lt;ParseObject&gt; objects, ParseException e) {
                          if (e == null) {
                              //
                          } else {
                              e.printStackTrace();
                          }
                      }
                  });
  </code></pre>
  
  <p>When i query for 5 objects, I can retrieve the ParseObjects, I don't face any problem, but when I query for a lot of objects, I get this error </p>
  
  <pre><code>Caused by: java.lang.ClassCastException: org.json.JSONObject$1 cannot be cast to com.parse.ParseObject". 
  </code></pre>
  
  <p>I have done some research, cloud code happened to return <code>JSONObject</code>, but why was I able to retrieve the 5 objects as Parse objects but when it comes to many objects, the type is returned as <code>JSONObject</code>?</p>