merge
This commit is contained in:
+1
-5
@@ -991,11 +991,7 @@ public class HttpClient5AdapterServiceRest extends HttpClient5AdapterServiceSupp
|
|||||||
if (eaiBody instanceof JSONObject) {
|
if (eaiBody instanceof JSONObject) {
|
||||||
JSONObject jsonObject = (JSONObject) eaiBody;
|
JSONObject jsonObject = (JSONObject) eaiBody;
|
||||||
if( jsonObject.containsKey("KJB_ROOTLESS_ARRAY") ) {
|
if( jsonObject.containsKey("KJB_ROOTLESS_ARRAY") ) {
|
||||||
ContentType contentTypeObj = ContentType.create(contentType, charset);
|
eaiBody = jsonObject.get("KJB_ROOTLESS_ARRAY");
|
||||||
JSONArray array = (JSONArray) jsonObject.get("KJB_ROOTLESS_ARRAY");
|
|
||||||
StringEntity entity = new StringEntity(array.toJSONString(), contentTypeObj);
|
|
||||||
method.setEntity(entity);
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user