当前位置:网站首页>异常com.alibaba.fastjson.JSONException: not match : - =
异常com.alibaba.fastjson.JSONException: not match : - =
2022-07-05 15:26:00 【小蚂蚁hjk】
自己总是对json解析时不是太清晰导致报错,就是obj对象没有转化为json对象导致的
正常解析
JSONObject jsonObject = JSONObject.parseObject(str);
String versionInfoStr = jsonObject.getString("versionInfo");
VersionInfo versionInfo = JSONObject.parseObject(versionInfoStr, VersionInfo.class);
边栏推荐
- Bugku alert
- Bugku cyberpunk
- JS knowledge points-01
- Creation and optimization of MySQL index
- 16. [stm32] starting from the principle, I will show you the DS18B20 temperature sensor - four digit digital tube displays the temperature
- Quick completion guide for manipulator (IX): forward kinematics analysis
- Bugku's Ping
- Data communication foundation ACL access control list
- Object. defineProperty() - VS - new Proxy()
- ICML 2022 | explore the best architecture and training method of language model
猜你喜欢

Redis' transaction mechanism

Advanced level of static and extern

Codasip为RISC-V处理器系列增加Veridify安全启动功能

【簡記】解决IDE golang 代碼飄紅報錯

Summary of the second lesson

【简记】解决IDE golang 代码飘红报错

Value series solution report

Lesson 4 knowledge summary

Write a go program with vscode in one article

I include of spring and Autumn
随机推荐
Xiao Sha's arithmetic problem solving Report
基于OpenHarmony的智能金属探测器
Noi / 1.5 06: element maximum span value of integer sequence
Bugku's eyes are not real
Good article inventory
Li Kou today's question -729 My schedule I
Advanced level of static and extern
Redis distributed lock principle and its implementation with PHP (2)
vulnhub-Root_ this_ box
ICML 2022 | explore the best architecture and training method of language model
18.[STM32]读取DS18B20温度传感器的ROM并实现多点测量温度
Appium automation test foundation - appium basic operation API (II)
swiper. JS to achieve barrage effect
Common MySQL interview questions
MySQL5.7的JSON基本操作
Redis distributed lock principle and its implementation with PHP (1)
Write a go program with vscode in one article
OSI seven layer model
lv_ font_ Conv offline conversion
OceanBase社区版之OBD方式部署方式本地安装