阅读背景:

基于Swift的基于流的JSON解析

来源:互联网 

How to parse JSON being downloaded as a stream on Swift? The stream gives incomplete JSON data each time. This is because I have to download MBs of data, the main component of which is a long array of objects, and I do not want the user to wait till I get the complete data. Is it possible to keep parsing the JSON data sequentially while streaming? Basically, something like what Jackson allows on Android, or a YAJLiOS Parser implementation for SwiftHow to parse JSON being downloaded as a stream




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: