kanyun-inc / YTKNetwork

YTKNetwork is a high level request util based on AFNetworking.
MIT License
6.46k stars 1.66k forks source link

get请求,服务端返回非josn格式,报3840 怎么处理? #524

Open Mengxiaowei opened 4 years ago

Mengxiaowei commented 4 years ago

提出问题前请先确认完成了下列几项步骤 New Issue Checklist

问题描述 Issue Description

请给出所提出问题的详尽描述,包括具体的错误信息,打印的堆栈等等,以及重现此问题的具体步骤。

Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.

Mengxiaowei commented 4 years ago

自述: YTKNetworkAgent分类中,runtime交换方法增加了dt_manager.responseSerializer = [AFHTTPResponseSerializer serializer]; 是无效的

wqforever commented 2 years ago

报3840我在使用jsonkit解析就行了,好像是特殊字符导致的