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