求推薦,尤其訪問Web service希望能找到幾個特別輕量級的包
阿神2017-04-24 09:13:27
For simple JSON parsing, SBJSON or something like that will suffice. Of course, the best way is to use NSJSONSerialization. After all, it is the solution that comes with the native SDK, so the efficiency will definitely not be bad. If the request is to return an API in JSON format, AFNetworking 2 already comes with AFJSONResponseSerializer, which will directly convert the response message into an NSDictionary object.
PHP中文网2017-04-24 09:13:27
If you just want to parse JSON, there are several third-party frameworks below
1. TouchJSON
2. SBJSON
3.YAJL
4.JSONKit
5. NextiveJson
Actually, I think the built-in API NSJSONSerialization is very good