当前位置:网站首页>异常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);
边栏推荐
- Why should we learn mathematical modeling?
- Clock switching with multiple relationship
- Severlet learning foundation
- lv_ font_ Conv offline conversion
- The elimination strategy of redis
- The computer is busy, and the update is a little slow
- Common MySQL interview questions
- Nine hours, nine people, nine doors problem solving Report
- Verilog realizes the calculation of the maximum common divisor and the minimum common multiple
- Quick completion guide for manipulator (IX): forward kinematics analysis
猜你喜欢
随机推荐
OceanBase社区版之OBD方式部署方式本地安装
MySQL overview
我们为什么要学习数学建模?
String modification problem solving Report
SQL injection sqllabs (basic challenges) 11-20
Creation and optimization of MySQL index
episodic和batch的定义
Bugku's Ah Da
力扣今日题-729. 我的日程安排表 I
Advanced level of static and extern
具有倍数关系的时钟切换
Redis distributed lock principle and its implementation with PHP (2)
Virtual base class (a little difficult)
Bubble sort, insert sort
I'm fat, huh
Number protection AXB function! (essence)
通过的英特尔Evo 3.0整机认证到底有多难?忆联科技告诉你
Basic JSON operations of MySQL 5.7
18.[stm32] read the ROM of DS18B20 temperature sensor and realize multi-point temperature measurement
"Sequelae" of the withdrawal of community group purchase from the city