Code example for JsonSyntaxException

Methods: toString

0
			Gson jsonObj = new Gson();
			loginObj = jsonObj.fromJson(loginObjString, Login.class);
			PhrescoLogger.info(TAG + "getLoginGSONObject() - JSON OBJECT : " + loginObj.toString());
 
		}  catch (JsonSyntaxException ex) {
			PhrescoLogger.info(TAG + "JsonSyntaxException : " + ex.toString());
			PhrescoLogger.warning(ex);
		} 
		return loginObj;
	} 
}