我用Json.toJson(Object obj)这个放过获取到的json数据为什么会有换行符和转义字符,我不需要json字符串,我要的是一个json对象,最后的格式是这样的
{"msg":"{\n "desc" :"接口获取成功",\n "state" :1,\n "cont" :{\n "desc" :"数据获取成功",\n "status" :1,\n "data" :[{\n "brandName" :"魅族",\n "brandDetail" :"魅族科技术最早是做MP3的,啊啊啊,后来就开始做只能手机了,手机还行,就是系统稍微有点问题",\n "brandWebUrl" :"http://www.meizu.com/",\n "brandLogo" :"http://www3.res.meizu.com/static/cn/index/images/logo-new-toggle_294da7f.png",\n "remark" :"这就是大名鼎鼎的魅族",\n "id" :1\n }, {\n "brandName" :"Apple(苹果)",\n "brandDetail" :"主营手机和电脑,以及其他高科技产品 \t",\n "brandWebUrl" :"http://www.Apple.com/cn",\n "brandLogo" :"http://p4.so.qhmsg.com/bdr/200_200_/t0143397d25b4f46c9e.jpg",\n "remark" :"美国Apple科技股份有限公司",\n "id" :7\n }, {\n "brandName" :"海尔",\n "brandDetail" :"海尔集团创立于1984年,产品从1984年的单一冰箱发展到拥有白色家电、黑色家电、米色家电在内的96大门类15100多个规格的产品群,并出口到世界100多个国家和地区。2004年,海尔全球营业额突破1016亿元。\t\t \t",\n "brandWebUrl" :"http://www.ehaier.com",\n "brandLogo" :"http://p0.so.qhmsg.com/bdr/200_200_/t016601595569a55265.jpg",\n "remark" :"海尔兄弟",\n "id" :8\n }, {\n "brandName" :"小米",\n "brandDetail" :"小米还是攒劲\t \t",\n "brandWebUrl" :"http://www.xiaomi.com",\n "brandLogo" :"http://pic40.nipic.com/20140403/18336139_174553612155_2.jpg",\n "remark" :"小米小雷科技",\n "id" :9\n }, {\n "brandName" :"vivo",\n "brandDetail" :"手机确实还行 \t",\n "brandWebUrl" :"http://www.vivo.vom",\n "brandLogo" :"http://i1.qhmsg.com/dr/270_500_/t01d4832591e08c78ef.jpg?size=200x200",\n "remark" :"vivo拍照手机",\n "id" :10\n }, {\n "brandName" :"华为",\n "brandDetail" :"华为很吊\t \t",\n "brandWebUrl" :"http://www.huawei.com/cn",\n "brandLogo" :"http://p4.so.qhmsg.com/bdr/200_200_/t0132cf1c606c8824b4.jpg",\n "remark" :"华为小任科技",\n "id" :11\n }]\n }\n}"}
nutz有没有转json对象的方法