src/org/ohmage/domain/campaign/Prompt.java
public JSONObject toJson() throws JSONException {
			JSONObject result = new JSONObject();
			
			result.put(JSON_KEY_LABEL, label);
			result.put(JSON_KEY_VALUE, value);
			
			return result;
		}
/**
		 * Returns a JSONObject that represents this label-value pair.
		 * 
		 * @return A JSONObject that represents this label-value pair.
		 * 
		 * @throws JSONException There was a problem creating the JSONObject.
		 */
Returns a JSONObject that represents this label-value pair.

@return A JSONObject that represents this label-value pair.

@throws JSONException There was a problem creating the JSONObject.
Returns a JSONObject that represents this label - value pair . @return A JSONObject that represents this label - value pair . @throws JSONException There was a problem creating the JSONObject .
public JSONObject toJson() throws JSONException {
			JSONObject result = new JSONObject();
			result.put(JSON_KEY_LABEL, label);
			result.put(JSON_KEY_VALUE, value);
			return result;
		}
public JSONObject toJson ( ) throws JSONException { JSONObject result = new JSONObject ( ) ; result . put ( JSON_KEY_LABEL , label ) ; result . put ( JSON_KEY_VALUE , value ) ; return result ; }
Returns a JSONObject that represents this label-value pair.
Returns a JSONObject that represents this label - value pair .