cocoa touch - YAJL-ObjC + Streaming Parser + gzip -


I am successfully using an iPhone project that uses the network and drages and parse JSON data down ASIHTTPRequest allows gzipped HTTP responses by default, which is great, but I am using YAJL's streaming parser capability and it suppresses jizip data properly. I can wait until the HTTP request is complete, then parse the uncompression and response, but I'm going to speed here and would like to parse the gzipped data as it downloads .

Is non-gzip data possible on the fly, inside of it is to parse JSN, then forget about that part of the grip data?

If this last part can be resolved,

  • ASIHTTPRequest is easy and asynchronous
  • Response body can be gipped, on-the-wire traffic can be saved
  • Parsing without loading the whole tree in loaded memory Can be done
  • Any guidance would be greatly appreciated!

    Yes:


    Comments