{isOccupy=Y, ip=127.0.0.1, channel=B, sendSmsTime=, userId=sysadmin, nowTime=2023-05-30 22:22:50, noSignedInNum=1, signNum=1, isSendSms=N, phone=12111111117, speakNum=0, name=asdf, isSpeak=0, nameNum=1, id=1141, lang=zh, remark1=, attenDance=, seq=101}将这个转成map
时间: 2023-07-19 18:16:19 浏览: 176
mitmproxy-docker:码头工人+ mitmproxy =:red_heart:
好的,我可以帮你将该字符串转换成map。以下是转换后的结果:
```
{
isOccupy=Y,
ip=127.0.0.1,
channel=B,
sendSmsTime=,
userId=sysadmin,
nowTime=2023-05-30 22:22:50,
noSignedInNum=1,
signNum=1,
isSendSms=N,
phone=12111111117,
speakNum=0,
name=asdf,
isSpeak=0,
nameNum=1,
id=1141,
lang=zh,
remark1=,
attenDance=,
seq=101
}
```
转换成map后的结果如下:
```java
Map<String, String> map = new HashMap<>();
map.put("isOccupy", "Y");
map.put("ip", "127.0.0.1");
map.put("channel", "B");
map.put("sendSmsTime", "");
map.put("userId", "sysadmin");
map.put("nowTime", "2023-05-30 22:22:50");
map.put("noSignedInNum", "1");
map.put("signNum", "1");
map.put("isSendSms", "N");
map.put("phone", "12111111117");
map.put("speakNum", "0");
map.put("name", "asdf");
map.put("isSpeak", "0");
map.put("nameNum", "1");
map.put("id", "1141");
map.put("lang", "zh");
map.put("remark1", "");
map.put("attenDance", "");
map.put("seq", "101");
```
希望以上信息能够帮助到你,如果你有其他问题,可以继续问我哦。
阅读全文