Code example for JsonReader

Methods: nextName

			//make url for twitter api 
			URL url = new URL("");
			//make input stream reader 
			Reader tweetReader = new InputStreamReader(url.openStream());
			//make json reader 
			JsonReader tweetJSONReader = new JsonReader(tweetReader); 
			//get status 
			String keyFromReader = tweetJSONReader.nextName();//get key for pair
			//check key for match with status 
			if (keyFromReader.equals("status")) {
				//get the value for that key 
		} catch (MalformedURLException e) {
			Log.d("TwiterFeed", e.toString());
		} catch (IOException e) {
			// TODO Auto-generated catch block 
			Log.d("TwiterFeed", e.toString());