Code example for JsonSyntaxException

Methods: toString

0
			Gson jsonObj = new Gson();
			registerObj = jsonObj.fromJson(registrationObjString, Registration.class);
			PhrescoLogger.info(TAG + "getRegistrationGSONObject() - JSON OBJECT : " + registerObj.toString());
 
		}  catch (JsonSyntaxException ex) {
			PhrescoLogger.info(TAG + "JsonSyntaxException : " + ex.toString());
			PhrescoLogger.warning(ex);
		} 
		return registerObj;
	} 
 
}