After going through the pain of trying to integrate other JSON parsers with my different iPhone projects, I realized it is a fairly annoying task. It’s not impossible and I eventually got it to work, but when I do quick prototype applications, I really don’t want to go through that pain.
So to solve that problem I created a pure Objective-C JSON parser, it is self-contained, and uses NSScanner only. It should work for Cocoa on the Mac and on the iPhone as well. Basically just drop the 2 files into your project and you can start parsing JSON.
This probably shouldn’t be used in a “big” project, though for small payloads I’m sure it can just do fine. It was really not designed to be performant or optimized, just functional and easy to drop in any project.
It is hosted on GitHub, and the license is basically free of use, you can give me attribution if you want to, but I’m not expecting this to be used in actual released applications.