src/org/ohmage/domain/campaign/prompt/RemoteActivityPrompt.java
@Override
	public JSONObject toJson() throws JSONException {
		JSONObject result = super.toJson();
		
		result.put(JSON_KEY_PACKAGE, packagee);
		result.put(JSON_KEY_ACTIVITY, activity);
		result.put(JSON_KEY_ACTION, action);
		result.put(JSON_KEY_AUTOLAUNCH, autolaunch);
		result.put(JSON_KEY_RETRIES, retries);
		result.put(JSON_KEY_MIN_RUNS, minRuns);
		result.put(JSON_KEY_INPUT, input);
		
		return result;
	}
/**
	 * Creates a JSONObject that represents this remote Activity prompt.
	 * 
	 * @return A JSONObject that represents this remote Activity prompt.
	 * 
	 * @throws JSONException There was a problem creating the JSONObject.
	 */
Creates a JSONObject that represents this remote Activity prompt.

@return A JSONObject that represents this remote Activity prompt.

@throws JSONException There was a problem creating the JSONObject.
Creates a JSONObject that represents this remote Activity prompt . @return A JSONObject that represents this remote Activity prompt . @throws JSONException There was a problem creating the JSONObject .
@Override
	public JSONObject toJson() throws JSONException {
		JSONObject result = super.toJson();
		result.put(JSON_KEY_PACKAGE, packagee);
		result.put(JSON_KEY_ACTIVITY, activity);
		result.put(JSON_KEY_ACTION, action);
		result.put(JSON_KEY_AUTOLAUNCH, autolaunch);
		result.put(JSON_KEY_RETRIES, retries);
		result.put(JSON_KEY_MIN_RUNS, minRuns);
		result.put(JSON_KEY_INPUT, input);
		return result;
	}
@ Override public JSONObject toJson ( ) throws JSONException { JSONObject result = super . toJson ( ) ; result . put ( JSON_KEY_PACKAGE , packagee ) ; result . put ( JSON_KEY_ACTIVITY , activity ) ; result . put ( JSON_KEY_ACTION , action ) ; result . put ( JSON_KEY_AUTOLAUNCH , autolaunch ) ; result . put ( JSON_KEY_RETRIES , retries ) ; result . put ( JSON_KEY_MIN_RUNS , minRuns ) ; result . put ( JSON_KEY_INPUT , input ) ; return result ; }
Creates a JSONObject that represents this remote Activity prompt.
Creates a JSONObject that represents this remote Activity prompt .