当前位置:网站首页>Exception com alibaba. fastjson. JSONException: not match : - =
Exception com alibaba. fastjson. JSONException: not match : - =
2022-07-05 15:58:00 【Ant HJK】
I'm always right json The parsing is not too clear, resulting in an error , Namely obj The object was not converted to json Caused by objects
Normal resolution
JSONObject jsonObject = JSONObject.parseObject(str);
String versionInfoStr = jsonObject.getString("versionInfo");
VersionInfo versionInfo = JSONObject.parseObject(versionInfoStr, VersionInfo.class);
边栏推荐
- This article takes you through the addition, deletion, modification and query of JS processing tree structure data
- 修改pyunit_time使得其支持‘xx~xx月’的时间文本
- Data communication foundation smart_ Link_&_ Monitor_ Link
- 抽象类和接口的区别
- vant popup+其他组件的组合使用,及避坑指南
- 写单元测试的时候犯的错
- Six common transaction solutions, you sing, I come on stage (no best, only better)
- Summary of the second lesson
- Go language programming specification combing summary
- keep-alive
猜你喜欢

具有倍数关系的时钟切换

vlunhub- BoredHackerBlog Moriarty Corp

CSRF, XSS science popularization and defense

SQL injection sqllabs (basic challenges) 11-20

Data communication foundation OSPF Foundation

Nine hours, nine people, nine doors problem solving Report
![17.[STM32]仅用三根线带你驱动LCD1602液晶](/img/c6/b56c54da2553a451b526179f8b5867.png)
17.[STM32]仅用三根线带你驱动LCD1602液晶

Intelligent metal detector based on openharmony

Data communication foundation NAT network address translation

力扣今日题-729. 我的日程安排表 I
随机推荐
obj解析为集合
超分辨率技术在实时音视频领域的研究与实践
【簡記】解决IDE golang 代碼飄紅報錯
Verilog realizes the calculation of the maximum common divisor and the minimum common multiple
Intelligent metal detector based on openharmony
Usage and usage instructions of JDBC connection pool
vant popup+其他组件的组合使用,及避坑指南
abstract关键字和哪些关键字会发生冲突呢
Basic JSON operations of MySQL 5.7
Appium自动化测试基础 — APPium基础操作API(二)
vlunhub- BoredHackerBlog Social Network
修改pyunit_time使得其支持‘xx~xx月’的时间文本
Bubble sort, insert sort
MySQL overview
Temporary cramming before DFS examination
The difference between abstract classes and interfaces
Use of RLOCK lock
数学建模之层次分析法(含MATLAB代码)
First PR notes
Six common transaction solutions, you sing, I come on stage (no best, only better)