Com.parse.ParseRequest $ ParseRequestException: wrong answer from json
source link: https://www.codesd.com/item/com-parse-parserequest-parserequestexception-wrong-answer-from-json.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Com.parse.ParseRequest $ ParseRequestException: wrong answer from json
I want to make a search to a row in the database. I put this query in my code
ParseQuery<ParseObject> query_names = ParseQuery.getQuery("PhoneBook");
query_names.include("Numbers");
query_names.whereStartsWith("Name", searchString.toLowerCase());
query_names.setLimit( 20);
query_names.findInBackground();
I got this exception
com.parse.ParseRequest$ParseRequestException: bad json response
This exception is from the parse version in my buid.gradle i have used a compile like this:
compile 'com.parse:parse-android:1.+'
the best way is to put like this
compile 'com.parse:parse-android:1.12.0'
and it will work correctly
Related Articles
com.parse.ParseRequest $ ParseRequestException: an incorrect json response or an I / O error while downloading a file
com.parse.ParseRequest $ ParseRequestException: Invalid token
Merge 2 data answers from json
I can not get the answer from Json of Api using Jquery
Add answers from JSON to Array
The HTTP GET request receives the code from the HTML page instead of the expected answer from json
Spring MVC - & gt; Answer from JSON
Parse NSDictionary in NSArray Created from JSON in Objective-C
Soapui - save the request and answer from JSON
Parse Server bad response error code json 100
JsonMappingException: No suitable constructor found for type [simple type, class]: can not instantiate from JSON object
Parse.com Android: precise update of ParseObjects from onContextItemSelected
Sort my objects that are parsed from json's data
Android Out of Memory parses the base64 chain from JSON
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK