YAJL JSON Parser (Objective-C Bindings)

June 15, 2009 — 4 Comments

I recently was investigating using a more lightweight JSON parser for iPhone projects (other than the standard SBJSON library) and came across the YAJL C JSON library. While using it as a document style parser didn’t result in a huge performance gain, it does a support a streaming “SAX” style parser which might help memory usage in larger documents.

Hopefully, sometime soon I will do some performance comparisons. In the meantime, if you try these bindings, let me know how it goes. You can find it on github at: http://github.com/gabriel/yajl-objc.

4 responses to YAJL JSON Parser (Objective-C Bindings)

  1. So is there no generator in the obj-c bindings? Only a parser?

  2. Yeah, right now, only parsing…

  3. thanks gabe !
    can you have the demo project (standard + streaming)
    I can not find any example, or tutorial on the internet.

  4. thanks gabe !
    can you show me a example project,
    It’s hard fot me to get it work.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s