处理数据格式
河汉清浅浅
若有笔墨能消磨 ,或写春秋伴王榻
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
java 获取一串字符中想要的字符串
截取字符串原创 2023-02-24 17:39:38 · 825 阅读 · 0 评论 -
java解析键值对配置文件xxx.properties
解析如上类型的配置文件 import java.io.IOException; import java.io.InputStream; import java.util.Properties; public class PropertiesUtil { public static Properties loadProperties(String propfile){ Properties properties = new Properties(); // 使..原创 2021-12-27 17:52:35 · 347 阅读 · 0 评论 -
使用objectMapper.readValue 处理接口返回的JSON格式数据
记录一波处理方案 首先看下返回的数据格式,如下: "items":"[{\"content\":\"\清\洁\,\门\窗\完\好\,\照\明\正\常\",\"itemType\":\"1\",\"text\":\"1\",\"title\":\"\机\房\、\滑\轮\间\环\境\",\"value\":\"BYX0101\"},{\"content\":\"\齐\全\,\在\指\定\位\置\",\"itemType\":\"1\",\"text\":\"1\",\"title\":\"\手\动\紧\急原创 2020-08-31 17:22:00 · 6388 阅读 · 0 评论
分享