fluid-ws-java-client/src/main/java/com/fluidbpm/ws/client/v1/ABaseClientWS.java
protected JSONObject executeJson(
			HttpMethod httpMethodParam,
			List<HeaderNameValue> headerNameValuesParam,
			boolean checkConnectionValidParam,
			ABaseFluidJSONObject baseDomainParam,
			ContentType contentTypeParam,
			String postfixUrlParam
	) {
		//Validate that something is set.
		if(baseDomainParam == null) {
			throw new FluidClientException("No JSON body to post.",
					FluidClientException.ErrorCode.FIELD_VALIDATE);
		}

		String bodyJsonString = baseDomainParam.toJsonObject().toString();

		return this.executeString(
				httpMethodParam,
				headerNameValuesParam,
				checkConnectionValidParam,
				bodyJsonString,
				contentTypeParam,
				postfixUrlParam);
	}
protected JSONObject executeJson(
			HttpMethod httpMethodParam,
			List<HeaderNameValue> headerNameValuesParam,
			boolean checkConnectionValidParam,
			ABaseFluidJSONObject baseDomainParam,
			ContentType contentTypeParam,
			String postfixUrlParam
	) {
		//Validate that something is set.
		if(baseDomainParam == null) {
			throw new FluidClientException("No JSON body to post.",
					FluidClientException.ErrorCode.FIELD_VALIDATE);
		}

		String bodyJsonString = baseDomainParam.toJsonObject().toString();

		return this.executeString(
				httpMethodParam,
				headerNameValuesParam,
				checkConnectionValidParam,
				bodyJsonString,
				contentTypeParam,
				postfixUrlParam);
	}
Submit a JSON based HTTP request body with JSON as a response.

@param httpMethodParam The HTTP method to use.
@param headerNameValuesParam The additional HTTP headers.
@param checkConnectionValidParam Check if connection to base endpoint is valid.
@param baseDomainParam The object to convert to JSON and submit as {@code httpMethodParam}.
@param contentTypeParam The Mime / Content type to submit as.
@param postfixUrlParam URL mapping after the Base endpoint.
@return Return body as JSON.

@see HttpMethod
@see JSONObject
@see ContentType
@see ABaseFluidJSONObject