SpringMVC下读取json返回字符串的乱码问题

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u012963866/article/details/73161940
@RequestMapping(value = "/", method = RequestMethod.GET,produces = {"application/json;charset=UTF-8"})
添加这个参数produces = {"application/json;charset=UTF-8"}

猜你喜欢

转载自blog.csdn.net/u012963866/article/details/73161940