Coder Social home page Coder Social logo

chensheng1357 / json-framework Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sbjson/sbjson

0.0 1.0 0.0 8.13 MB

JSON (JavaScript Object Notation) is a light-weight data interchange format that's easy to read and write for humans and computers alike. This framework implements a strict JSON parser and generator in Objective-C.

Home Page: http://sbjson.org

License: BSD 3-Clause "New" or "Revised" License

json-framework's Introduction

JSON (JavaScript Object Notation) is a light-weight data interchange format that's easy to read and write for humans and computers alike. This library implements chunk-based JSON parsing and generation in Objective-C.

Build Status

Features

SBJson's number one feature is chunk-based operation. Feed the parser one or more chunks of UTF8-encoded data and it will call a block you provide with each root-level document or array. Or, optionally, for each top-level entry in each root-level array. See more in the Version 4 API docs.

Other features:

  • Configurable recursion limit. For safety SBJson defaults to a max nesting level of 32 for all input. This can be configured if necessary.
  • The writer can optionally sort dictionary keys so output is consistent across writes.
  • The writer can optionally create human-readable (indented) output.

API Documentation

Please see the API Documentation for more details.

Installation

The preferred way to use SBJson is by using CocoaPods. In your Podfile use:

pod 'SBJson', '~> 4.0.0'

If you depend on a third-party library that requires an earlier version of SBJson---or want to install both version 3 and 4 in the same app to do a gradual transition---you can instead use:

pod 'SBJson4', '~> 4.0.0'

An alternative that I no longer recommend is to copy all the source files (the contents of the src/main/objc folder) into your own Xcode project.

Examples

Support

License

BSD. See LICENSE for details.

json-framework's People

Contributors

stig avatar phillbaker avatar hiroshi avatar mikekppp avatar dagerydoo avatar upsuper avatar brycepauken avatar tyrone-sudeium avatar andrewpbrett avatar tlg avatar cary avatar hagerhu avatar itruf avatar johnezang avatar kimmomyllyoja avatar nark avatar robin avatar mmmbiscuits avatar soffes avatar sps avatar noscript avatar stigi avatar lukef avatar waffle-with-pears avatar

Watchers

 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.