php后台像iOS客户端返回带html的内容的json出错
PHPz
PHPz 2017-04-17 17:35:40
0
1
225
Error Domain=NSCocoaErrorDomain Code=3840 "Invalid escape sequence around character 556." UserInfo={NSDebugDescription=Invalid escape sequence around character 556.}

报错如上。因为返回的json中有个字段带了大段长html,可能jsonkit解析有点问题。现在不知道如何解决了

PHPz
PHPz

学习是最好的投资!

Antworte allen(1)
迷茫

可以直接返回html,不要返回带html的json

Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage