Skip to content Skip to sidebar Skip to footer

How Do I Get Data From Null Jsonobject?

This is my first Question on StackOverflow, So sorry for bad representation of the question. Here is Json in logcat : I/Result is: null{'coord':{'lon':-0.13,'lat':51.51},'weather'

Solution 1:

Initialize your result string with empty

String result="";

Your result String is class variable and all String are by default initialize with =null value

below line add to null+yourResponse

result+= count;

Post a Comment for "How Do I Get Data From Null Jsonobject?"