json 乱码

如果json传值出现了乱码,多半是因为response没有进行编码设置:

                response.setContentType("text/html;charset=UTF-8");
                response.setCharacterEncoding("UTF-8");
原文地址:https://www.cnblogs.com/passer1991/p/2990976.html