objective-c - OC解析json數據和發起簡單的WebService請求你們都用什麼啊?
PHP中文网
PHP中文网 2017-04-24 09:11:27
0
3
701

求推薦,尤其訪問Web service希望能找到幾個特別輕量級的包

PHP中文网
PHP中文网

认证0级讲师

reply all(3)
阿神

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.

迷茫

AFNetworking

洪涛

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!