Code example for JSONObject

Methods: optInt

0
	{ 
		if (deployData == null) {
			return -1; 
		} 
 
		return deployData.optInt(DEBUGGER_PORT, -1);
	} 
 
	/** 
	 * @return Whether or not the profiler server is enabled 
	 */ 
	public boolean isProfilerEnabled() 
	{ 
		if (deployData == null) {
			return false; 
		} 
 
		return deployData.optBoolean(PROFILER_ENABLED, false);
	} 
 
	/**