Code example for JsonReader

Methods: beginObjectsetLenient

0
		 
		private boolean processInput(InputStream in) {
			 
			JsonReader jr;
			try { 
				jr = new JsonReader(new BufferedReader(new InputStreamReader(
						in, "UTF-8")));
 
				jr.setLenient(true);
				jr.beginObject();
 
				/* Read ReturnCode */ 
				Pair<String, Boolean> pair = AdminHelper
						.handleResponse(JsonCustomReader 
								.readJSONRetCode(jr, in));
 
				errorMessage = pair.getFirst();
				return pair.getSecond();
				 
			} catch (UnsupportedEncodingException e) {