Code example for JSONObject

Methods: optInt

0
	{ 
		if (deployData == null) {
			return -1; 
		} 
 
		return deployData.optInt(PROFILER_PORT, -1);
	} 
 
	/** 
	 * @return The "fastdev" http server port, or -1 
	 */ 
	public int getFastDevPort() 
	{ 
		if (deployData == null) {
			return -1; 
		} 
 
		return deployData.optInt(FASTDEV_PORT, -1);
	} 
 
	/**