fluid-api/src/main/java/com/fluidbpm/program/api/vo/field/MultiChoice.java
@Override
	public JSONObject toJsonObject() throws JSONException {
		JSONObject returnVal = super.toJsonObject();

		//Available...
		if(this.getAvailableMultiChoices() != null) {
			List<String> availChoices = this.getAvailableMultiChoices();

			returnVal.put(JSONMapping.AVAILABLE_MULTI_CHOICES,
					new JSONArray(availChoices.toArray()));

			returnVal.put(JSONMapping.AVAILABLE_CHOICES,
					new JSONArray(availChoices.toArray()));

			returnVal.put(
					JSONMapping.AVAILABLE_CHOICES_COMBINED,
					this.combineStringArrayWith(
							availChoices,
							UtilGlobal.PIPE));
		}

		//Selected...
		if(this.getSelectedMultiChoices() != null) {
			List<String> selectChoices = this.getSelectedMultiChoices();

			returnVal.put(JSONMapping.SELECTED_MULTI_CHOICES,
					new JSONArray(selectChoices.toArray()));

			returnVal.put(JSONMapping.SELECTED_CHOICES,
					new JSONArray(selectChoices.toArray()));

			returnVal.put(
					JSONMapping.SELECTED_CHOICES_COMBINED,
					this.combineStringArrayWith(
							selectChoices,
							UtilGlobal.PIPE));
		}

		return returnVal;
	}
@Override
	public JSONObject toJsonObject() throws JSONException {
		JSONObject returnVal = super.toJsonObject();

		//Available...
		if(this.getAvailableMultiChoices() != null) {
			List<String> availChoices = this.getAvailableMultiChoices();

			returnVal.put(JSONMapping.AVAILABLE_MULTI_CHOICES,
					new JSONArray(availChoices.toArray()));

			returnVal.put(JSONMapping.AVAILABLE_CHOICES,
					new JSONArray(availChoices.toArray()));

			returnVal.put(
					JSONMapping.AVAILABLE_CHOICES_COMBINED,
					this.combineStringArrayWith(
							availChoices,
							UtilGlobal.PIPE));
		}

		//Selected...
		if(this.getSelectedMultiChoices() != null) {
			List<String> selectChoices = this.getSelectedMultiChoices();

			returnVal.put(JSONMapping.SELECTED_MULTI_CHOICES,
					new JSONArray(selectChoices.toArray()));

			returnVal.put(JSONMapping.SELECTED_CHOICES,
					new JSONArray(selectChoices.toArray()));

			returnVal.put(
					JSONMapping.SELECTED_CHOICES_COMBINED,
					this.combineStringArrayWith(
							selectChoices,
							UtilGlobal.PIPE));
		}

		return returnVal;
	}
Conversion to {@code JSONObject} from Java Object.

@return {@code JSONObject} representation of {@code MultiChoice}.
@throws JSONException If there is a problem with the JSON Body.

@see ABaseFluidJSONObject#toJsonObject()