The YAJL framework is an Objective-C framework for the YAJL SAX-style JSON parser.
- Stream parsing, comments in JSON, better error messages.
- Parse directly from NSString or NSData.
- Generate JSON from default or custom types.
- Properly handles large numeric types.
- Document style parser.
- Error by exception or out error.
- The online API documentation.
YAJL framework is used by:
- Yelp for iPhone/iPad
- Add your app here!
Download and copy the YAJL.docset to ~/Library/Developer/Shared/Documentation/DocSets/YAJL.docset
(You may need to restart XCode after copying the file.)
The documentation will appear within XCode:
- Copy
YAJL.framework
to your project directory (maybe in MyProject/Frameworks/.) - Add the
YAJL.framekwork
files (from MyProject/Frameworks/) to your target. It should be visible as aLinked Framework
in the target. - Under Build Settings, add
@loader_path/../Frameworks
toRunpath Search Paths
- Add
New Build Phase
|New Copy Files Build Phase
.- Change the Destination to
Frameworks
. - Drag
YAJL.framework
into the the build phase - Make sure the copy phase appears before any
Run Script
phases
- Change the Destination to
- Copy
YAJL.framework
to/Library/Frameworks/
- In the target Info window, General tab:
- Add a linked library, under
Mac OS X 10.5 SDK
section, selectYAJL.framework
- Add a linked library, under
- Add
YAJLiOS.framework
to your project. - Add the frameworks to
Linked Libraries
:YAJLiOS.framework
CoreGraphics.framework
Foundation.framework
UIKit.framework
- Under
Framework Search Paths
make sure the (parent) directory toYAJLiOS.framework
is listed. - Under
Other Linker Flags
in your target, add-ObjC
and-all_load