Goal : Add the latest JSON into my project.
I download JSON from this link https://github.com/stig/json-framework/downloads and drag the folder name stig-json-framework-a23638b in my project. and Check “Copy items into destination group’s folder (if needed)”.
stig-json-framework-a23638b folder shows many sub folder inside like Classes, Examples, SBJSON, sbjson-ios, sbjson-iosTests.
after that when I #import “JSON.h” it gives error JSON.h file not found.
I know I am doing wrong please direct me in right direction. and provide me link from where I download JSON Framework. and any good tutorial links.
many thanks.
You dont need to import the whole project with examples and target of it.Just import whatever in the “
classes” folder in that framework..https://github.com/stig/json-framework/tree/master/src/main/objc
Files listed in above link is enough to import framework.
As @sanchitsingh said, you need to import only “
SBJSON.h“.