I am getting half json response from url and print in logcat. The response contains large data so how can i get the full json response.
Asked
Active
Viewed 381 times
0
-
Although we'd love to guess at the problem, it would be very helpful to see what code you are using to issue web requests and parse your JSON responses. – andrewdleach Sep 11 '15 at 15:20
-
Check this answer to increase logcat http://stackoverflow.com/questions/27618977/android-studio-maximum-number-of-lines-logcat – xiaomi Sep 11 '15 at 15:21
-
possible duplicate of [Android - Set max length of logcat messages](http://stackoverflow.com/questions/8888654/android-set-max-length-of-logcat-messages) – poss Sep 11 '15 at 15:26
1 Answers
0
Maybe this library may help you to solve the problem ,but it's document is written by Chinese . I have translated the main part for you :
You need to init the lib in your onCreate method like this: L.init();
And then you can use it to print your json info like this: L.json(youJsonObj.toString());