Code example for JSONObject

Methods: optInt

0
	{ 
		if (deployData == null) {
			return -1; 
		} 
 
		return deployData.optInt(FASTDEV_PORT, -1);
	} 
 
	/** 
	 * @return Whether or not Fastdev mode should listen for a connection (default false) 
	 *  This is useful for situations where adb forward or other external methods are necessary 
	 */ 
	public boolean getFastDevListen() 
	{ 
		if (deployData == null) {
			return false; 
		} 
 
		return deployData.optBoolean(FASTDEV_LISTEN, false);
	} 
}