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
Categories
JSONLicense
BSD LicenseFollow SBJson 5
You Might Also Like
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of SBJson 5!