如何将下面的json数据提取出来
Status Code:
200
Headers:
Pragma: no-cache
Connection: keep-alive
X-Powered-By: PHP/5.5.9
Content-Length: 41
Server: nginx/1.0.15
Content-Type: text/html
Date: Fri, 29 Jan 2016 03:26:52 GMT
Set-Cookie: PHPSESSID=8038ftsgcq1jb6fpdt0o85u4h4; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Payload:
{"result":"1","shopid":"22","bossid":"1"}
得到json字符串后,可以用Perfect JSON 类库解析为字典,详见:Perfect JSON