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

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
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