suchen

Heim  >  Fragen und Antworten  >  Hauptteil

php后台像iOS客户端返回带html的内容的json出错

Error Domain=NSCocoaErrorDomain Code=3840 "Invalid escape sequence around character 556." UserInfo={NSDebugDescription=Invalid escape sequence around character 556.}

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

PHPzPHPz2888 Tage vor219

Antworte allen(1)Ich werde antworten

  • 迷茫

    迷茫2017-04-17 17:37:40

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

    Antwort
    0
  • StornierenAntwort