Chunk-based JSON parsing and generation in Objective-C. SBJson's number one feature is stream/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. With this you can reduce the apparent latency for each download/parse cycle of documents over a slow connection. You can start parsing and return chunks of the parsed document before the full document has downloaded. You can also parse massive documents bit by bit so you don't have to keep them all in memory.

Features

  • "Plain" Chunk Based Parsing
  • For safety there is a max nesting level for all input. This defaults to 32, but is configurable
  • The writer can sort dictionary keys so output is consistent across writes
  • The writer can create human-readable output, with newlines and indents
  • You can install SBJson v3, v4 and v5 side-by-side in the same application
  • Licensed under the BSD license

Project Samples

Project Activity

See All Activity >

Categories

JSON

License

BSD License

Follow SBJson 5

SBJson 5 Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of SBJson 5!

Additional Project Details

Programming Language

Objective C

Related Categories

Objective C JSON Software

Registered

2023-10-09