- 博客(1)
- 收藏
- 关注
原创 Hutool的JSONObject.getByPath(String expression)的参数
在工作中碰到了要将一个XML格式的字符串解析其中自己需要的属性值,下列代码private static final String path = "[xml_result].[read_sentence].[rec_paper].[read_sentence]";public static void main(String[] args) { String str = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
2022-05-20 11:10:42
5010
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人