|
@@ -3,9 +3,6 @@ package com.persagy.dmp.starter.alarm.util;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
|
|
|
-import java.util.HashMap;
|
|
|
-import java.util.Map;
|
|
|
-
|
|
|
|
|
|
* @description:
|
|
|
* @author: lixing
|
|
@@ -21,11 +18,11 @@ public class StringUtil {
|
|
|
return t.newInstance();
|
|
|
}
|
|
|
|
|
|
- public static void main(String[] args) {
|
|
|
- Map<String, Object> map = new HashMap<>();
|
|
|
- map.put("a", "1");
|
|
|
- map.put("b", "2");
|
|
|
-
|
|
|
- JSONObject obj = (JSONObject) JSONObject.toJSON(map);
|
|
|
- }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
}
|