GitHunt
AD

adambabik/json-framework

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.

SBJson (aka json-framework)

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 strict JSON parsing and generation in
Objective-C.

Features

  • BSD license
  • Super-simple high-level API:
    • Call [str JSONValue] on any NSString instance to parse its JSON text
    • Call [obj JSONRepresentation] on any NSArray or NSDictionary to return its JSON text
  • Good balance between simplicity and flexibility provided by the SBJsonParser and SBJsonWriter classes
  • Configurable recursion depth limit
  • Garbage Collection
  • Automatic Reference Counting (ARC)
  • Optionally sort dictionary keys in JSON output
  • Optional pretty-printing of JSON output

Changes in comparison to the original SBJson repo

  • Support for converting NSDate to JSON text (as a string with seconds since epoc)

Links

BSD 3-Clause "New" or "Revised" License
Created August 25, 2012
Updated January 11, 2020
adambabik/json-framework | GitHunt