JSON PARSER ANDROID get all Key Values in one go

0 votes

Thanks for your code , It works fine to retrieve single key at a time ... 


But what i really want is to pick all the keys to a documnt in 1 go itself , and locally parse on Android.

So essentially , with one request to cloud, i shud get the first or all JSON, then locally parse one by one and take out each key value ...

Below is my JSON stored on the cloud : 

  "LAT": 12.1536955,
  "LNG": 77.9096


So in above , i need to go to cloud , pull out LAT , LNG and DESC values.

Then second loop, pull out next LAT , LNG , DESC and so on .....

related to an answer for: I need a PARSER for Android
asked May 20, 2015 in App42 Cloud API-BaaS by jingahr (31 points)

1 Answer

0 votes


You can fetch the document from App42 database based on pagination, fetching all documents in one go  is not available as it is not a scalable model. You have to use findDocumentByPaging method from which you can get the maximum 100 records in one call. .

Let me know if it helps.   


Himanshu Sharma

answered May 21, 2015 by hs00105 (2,005 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com