target: JSONObject 객체를 Map / Map을 JSONObject로 변환 method: JSONObject jsonObject; // Convert JSONObject to Map Map map = new ObjectMapper().readValue(jsonObject.toString(), Map.class); // Convert Map to JSONObject for(Map.Entry entry : map.entrySet()) { jsonObject.put(entry.getKey(), entry.getValue()); }