![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
json
雪灵~
这个作者很懒,什么都没留下…
展开
-
接口调用http post请求
public static String doPostJson(String url, String json, String appCredential, String userCredential) throws UnsupportedEncodingException { // 创建连接池 CloseableHttpClient closeableHttpClient = HttpClients.createDefault(); ResponseHandler&l...原创 2020-06-04 11:30:50 · 532 阅读 · 0 评论 -
Spring boot 接口返回JSON时,将null转化为空字符串
1、添加pom配置<dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.6.6</version></dependency...转载 2019-04-11 11:01:27 · 2616 阅读 · 0 评论