随笔分类 -  JSON

摘要:编写response类: $code, 'message' => $message, 'data' => $data ); echo json_encode($result); ... 阅读全文
posted @ 2014-10-31 17:06 savokiss 阅读(286) 评论(0) 推荐(0) 编辑
摘要:1.后端//处理json数组中文问题function arrayRecursive(&$array, $function, $apply_to_keys_also = false){ static $recursive_counter = 0; if (++$recursive_coun... 阅读全文
posted @ 2014-09-15 09:36 savokiss 阅读(1227) 评论(0) 推荐(0) 编辑
摘要:text/html;charset=UTF-8 去掉 阅读全文
posted @ 2014-08-15 15:43 savokiss 阅读(543) 评论(0) 推荐(0) 编辑
摘要:Spring-MVC中@ResponseBody返回Bean到前台接收这么一串代码,还套着HTML标签:The resource identified by this request is only capable of generating responses with characteristi... 阅读全文
posted @ 2014-08-07 09:46 savokiss 阅读(1024) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示