# SBJson/SBJson

This framework implements a strict JSON parser and generator in Objective-C.

Repository: https://github.com/SBJson/SBJson
Canonical: https://ross.abutalabs.com/products/sbjson
Language: Objective-C
License: BSD-3-Clause
License Family: permissive
Topics: sbjson, parsing, objective-c, chunk, json, carthage
Last push: 2026-05-18T09:03:38+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 83, release rhythm 52, longevity 100
- inputs: {"age_days": 5924, "days_push": 107, "days_rel": 110, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3717, forks 676 (observed 2026-08-28T04:08:15.394006+00:00)

## What it is
SBJson is an Objective-C framework providing a strict JSON parser and generator with stream/chunk-based operation. It lets you parse JSON incrementally, calling a block per root-level document or array entry as data arrives.

## Use cases
- parse JSON incrementally as it downloads over a slow connection
- parse very large JSON documents without loading them fully into memory
- generate JSON from Objective-C objects
- process a stream of multiple JSON documents
- strict JSON parsing in iOS or macOS apps

## When to choose
- you are developing in Objective-C for Apple platforms and need streaming/chunked JSON parsing
- you need to parse huge JSON files with low memory usage
- you want to reduce perceived latency by parsing before a download completes

## When to avoid
- you are using Swift and prefer native JSONSerialization or Codable
- you need actively developed software with frequent updates
- you need non-strict or lenient JSON parsing

## Facets
- artifact type: library
- maturity: maintenance
- function: parser, serialization
- domain: parsers, developer-tools, mobile-development
- platform: cross-platform
- tags: objective-c, streaming-parser, chunk-based, carthage, cocoa, ios, macos

## Member repositories
- SBJson/SBJson (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:15.394006+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:29:21.747742+00:00, confidence not recorded.
  - readme: https://github.com/SBJson/SBJson (fetched 2026-08-28T04:08:15.394006+00:00, sha f88801cf0bc1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
