摘要: import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; //字符串转为JSON对象 String strParam="{ \"callerid\": \"013941128270\" ,\"timestart 阅读全文
posted @ 2023-12-08 11:03 海乐学习 阅读(85) 评论(0) 推荐(0)
摘要: 在一个复杂的字符串中,使用 正则表达式 来取其中某个值 import java.util.regex.*;//正则表达式 引用 //复杂的字符串 String input="{\"pbxToken\":\"1ja930jsdlij912h94hk5l35poeweer\"}"+"{\"LS_Call 阅读全文
posted @ 2023-12-08 10:51 海乐学习 阅读(15) 评论(0) 推荐(0)