![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
bringgoodluck666
这个作者很懒,什么都没留下…
展开
-
遇到的JSON,JAVA对象转换(JSON,Object,JSONArray,List)(更新中)
1.JSON.toJavaObject (JSON转JAVA对象例子)User user = JSONObject.toJavaObject(data, User.class);将json数据转化为对象2.JSON.parseObject (JSON字符串转化为 JSON对象例子)String stuString = "{\"age\":2,\"name\":\"公众号编程\",\"sex\":\"m\"}";JSONObject jsonObject1 = JSONObject.par原创 2021-03-28 20:27:11 · 368 阅读 · 1 评论 -
这个才是最全Spring开发约束(配置头)
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="ht原创 2020-08-30 17:01:31 · 203 阅读 · 1 评论 -
spring声明
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.springf.转载 2020-08-30 16:41:20 · 153 阅读 · 0 评论