cancel
Showing results for 
Search instead for 
Did you mean: 

How to fetch and parse very long JSON data in MBO SUP Android

Former Member
0 Kudos

I have a webservice which gives JSON output but only in one row .

It gives TRUNCATED output after syncronisation in code in Android .

I have increased the size to 3000 for String for  fetching response.

But it works only till 3000 characters .


If a output data has more than 3000 characters it will again give TRUNCATED data .

How can I resolve this issue .


Kindly help .

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I am searching for answer which will enable to fetch data as large as possible from Production servers

The following trial and errors I have done .

I have increased the String from default 300 to 3000 and the pagesize to maximum available .

But then after certain time deployment fails .

If depolyment is done successfully , then Generating code fails due to less page size .

Can I have some permanent solution so I wont get TRUNCATED JSON data while fetching in my Android code.It does not get truncated while I hit via MBO .

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Looping

Former Member
0 Kudos

In the MBO mapping, what type have you mapped the JSON parameter to? It would be helpful to see a screenshot of your mapping.

Thanks,

Andrew.

Former Member
0 Kudos

I have a SOAP based service of which I get only a JSON string output (which consists of whole output or JSON array ) from the webservice in only one field as seen in image below

This is then mapped as seen in MBO below of which I get to fetch only one string JSON output .

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Just a thought: Did you try after increasing PAGE SIZE while generating the code for android?