Git Product home page Git Product logo

yajl-objc's Introduction

YAJL Framework

The YAJL framework is an Objective-C framework for the YAJL SAX-style JSON parser.

Features

  • 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.

Links

Installing in Xcode 4 (Mac OS X)

  • Copy YAJL.framework to your project directory (maybe in MyProject/Frameworks/.)
  • Add the YAJL.framework files (from MyProject/Frameworks/) to your target.
  • In Build Settings, add @loader_path/../Frameworks to Runpath Search Paths. If you don't see Runpath Search Paths make sure All is selected instead of 'Basic'.
  • In Build Phases, select Add Build Phase, then Add Copy Files.
    • Change the Destination to Frameworks.
    • Drag YAJL.framework into the the build phase
    • Make sure the copy phase appears before any Run Script phases
  • Import with #import <YAJL/YAJL.h>.
  • See the API documentation

Installing in Xcode 3 (Mac OS X)

  • Copy YAJL.framework to your project directory (maybe in MyProject/Frameworks/.)
  • Add the YAJL.framework files (from MyProject/Frameworks/) to your target. It should be visible as a Linked Framework in the target.
  • Under Build Settings, add @loader_path/../Frameworks to Runpath 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

Installing in Xcode 4 (iOS)

  • Add YAJLiOS.framework to your project.
  • In Build Phases, make sure its listed in Link Binary With Libraries, along with:
    • CoreGraphics.framework
    • Foundation.framework
    • UIKit.framework
  • In Build Settings:
    • Under Framework Search Paths make sure the (parent) directory to YAJLiOS.framework is listed.
    • Under Other Linker Flags in your target, add -ObjC and -all_load
  • Import with #import <YAJLiOS/YAJL.h>.
  • See the API documentation

Installing in Xcode 3 (iOS)

  • 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 to YAJLiOS.framework is listed.
  • Under Other Linker Flags in your target, add -ObjC and -all_load
  • Import with #import "YAJLiOS/YAJL.h".

Docset

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:

YAJL-Docset

yajl-objc's People

Contributors

gabriel avatar aki-null avatar a2 avatar augustl avatar pegli avatar psychs avatar

Watchers

Keith Kyzivat avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.