8

I can't seem to get the JSON file from the Pinterest Json

view full story
linux-howto

http://stackoverflow.com – i'm having a problem getting the json from pinterest it always error on the JSONArray part. code JSONArray bodyarray = null; JSONParser jParser = new JSONParser(); JSONObject json = jParser.getJSONFromUrl(url); Log.i("url",""+url); Log.i("json",""+json); try{ bodyarray = json.getJSONArray(TAG_body); <---- this is the error here "NullPointerException" Log.i("JSON", ""+bodyarray); } JSON received url - http://pinterestapi.co.uk/username/pins I'm not having this problem when parsing JSON from facebook and twitter, this only happens in pinterest link. How can i get the array (HowTos)