Json方法

	public static void transform(HttpServletResponse response,Object object)throws Exception{
		response.setContentType("text/html,charset=utf-8");
		PrintWriter out=response.getWriter();
		out.println(object.toString());
		out.flush();
		out.close();
	}

猜你喜欢

转载自blog.csdn.net/weixin_43324905/article/details/83148927