How to get a great JSON response in Android Unroid platform

I know the normal parsing in Android and Java.

But here it is a little different.

In cases where String (300) is installed by default, I can get a JSON String with PAGESIZE set as multiple 2096, and I can generate code in Sybase.

But if I want to get big data with a size of no more than 300 characters or 300,000 characters, then an MBO hit can get it, but not through the code in Android.

In Android code, I get TRUNCATED data + some JSON data received after I clicked to sync

So I need to know how I can get a large JSON string as a result via Android code

.

Please note: this question is for Sybase Android application development.

A similar question was posted on the SAP forum, but it has not yet been answered http://scn.sap.com/thread/3738150

+6
source share
2 answers

for big data try to save your data in the database from the beginning (this is best practice) and then deal with it using SQLite .

+1
source

Let's look at when you talk about fetching, you mean fetching data from the server. 2 years ago, the most reliable approach was to use the gson library for android to parse the json string element by element.

0
source

Source: https://habr.com/ru/post/986708/


All Articles