SBJson Versions Save

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

v4.0.2

7 years ago

A few patches to address warnings submitted by various people.

  • a34295f Merge pull request #201 from isimpson/patch-1
  • 6069c12 Fix semantic issue Xcode warning
  • ceaa84a Update travis-ci to use a build matrix rather than explicit script
  • 647ff7e Add semicolons after block - fixes #198
  • 34b2d47 Update README.md
  • f4933c9 Merge pull request #194 from karelia/master
  • beed41a Return NULL for invalid chars
  • 64ea007 Readme update
  • e628af0 Slightly saner error handling (thanks AppCode!)
  • 852f607 Inline method (thanks AppCode!)
  • 20a2ece Add cast to correct unmatched type issue (thanks AppCode!)
  • 18cbb6c Fix typos in comments and variable names (thanks AppCode!)
  • a90dddf Killed 58 lines of unreachable code (thanks AppCode!)
  • 024672c Simplify expression as suggested by AppCode
  • f999088 Remove broken example (twitter no longer support basic auth)
  • dba2719 Create a new (external) DisplayPretty project and link to it rather than embed it
  • f7ee521 fixup! Extract LICENSE from README again (I changed my mind...)
  • 59d3810 Extract LICENSE from README again (I changed my mind...)

v4.0.3

7 years ago

Minor bug fix release.

  • 207dfa3 Adjust Travis CI configuration (#1)
  • 191b0ad Rename Carthage Mac target
  • 23e47df Update README.md
  • ed536b5 Add Carthage iOS target
  • d53dfe4 Add repo status to README
  • 4ca1d84 Replace deprecated method with alternative
  • d088bd1 Add codecov badge to README
  • 4e7df93 Make variable private
  • 2983d71 Attempt at adding code test coverage metrics
  • 959f5bd Make link (hopefully) to LICENCE
  • 52ab522 Add a top-level heading to README
  • abe079d Update to-date on license
  • bff9599 Remove prefix headers
  • 2fbe784 Use Xcodebuild rather than xctool
  • 5f63aa0 Add Gitter URL to README

v4.0.0

10 years ago

I'm happy to announce the fourth major release of SBJson! As mentioned in this blog post the focus for this release has been on making the chunk-based (aka streaming) API much simpler to use, and I believe this is the case.

Because this release is not backwards compatible with previous versions all classes, constants & enums were renamed to contain the number 4. This is so that you can use the new APIs while still relying on libraries that bundle older versions of this library.

Remove the old SBJsonParser and created a new chunk-oriented one based on version 3.2's SBJsonStreamParserAdapter.

This release also includes two important parsing fixes related to number parsing. We now support the full range of unsigned long long as a proper integer type, and properly support the full range of double. In doing so SBJson was changed to never produce a NSDecimalNumber, but always return NSNumber instances.

v3.2.0rc1

10 years ago

Deprecations

  • Deprecated the JSONValue and JSONRepresentation category methods.
  • Deprecated several methods that return an error through an NSError** argument.

These will be removed in the next major version release.

Changes

  • Absorb LICENSE and INSTALL files into README.
  • Remove the Xcode Workspace from the top-level source checkout; the less clutter the better and this doesn't seem to serve any function.
  • Change to use AppleDoc for creating API documentation. This results in output looking more consistent with Apple's documentation.

Bugfixes

  • Replace use of INFINITY with HUGE_VAL where used as double (reported by Antoine Cœur)
  • Correctly parse -0.0 as a JSON number (Cary Yang)

v3.2.0

10 years ago

Version 3.2.0 was released, with no changes since rc1.

v4.0.0-alpha3

10 years ago

Notable changes since 4.0.0-alpha2:

  • f7ef205 Add documentation for more convenience constructors
  • 49bcff0 Rename classes, constants & enums to add major version number (4)
  • fda671c Remove old SBJsonParser and rename SBJsonChunkParser to SBJsonParser
  • c053beb Changed secondary init method to be a class method instead
  • faaa654 Remove parser as argument to all its delegate methods
  • e8a1444 Move max-depth error handling from stream parser to chunk-parser
  • 4ef698e Make SBJsonChunkParser "immutable" by removing properties
  • d6342f6 Use the ChunkParser in the DisplayPretty example

v4.0.0-alpha2

10 years ago

Notable changes since 4.0.0-alpha:

  • d13a5a8 Support stopping parsing after a certain number of partial documents
  • cbdd83c Replace SBJsonStreamParserAdapter with SBJsonChunkParser
  • a52fefa Update DisplayPretty example to use ARC
  • 9bedeec Turn on most sensible warnings
  • 641f506 Move properties to be nonatomic, and remove explicit @synthesize declarations
  • b41acb1 Use weak rather than unsafe_unretained (no longer support iOS < 5)
  • c3f7db0 Make the "skip outer array" option of the stream parser easier to understand.
  • f342770 Move multi-document support chosing to the parser delegate, so decision can be done in the adapter
  • 28a7c73 Update documentation to remove reference to -autorelease method
  • ab11d2b Remove the silly parser/writer Accumulators
  • b02a095 Avoid warning for Mac OS X build

v4.0.0-alpha

10 years ago

I'm delighted to announce SBJson 4.0.0-ALPHA. Notable changes since 3.2.0:

  • #160 & #162 - Remove category & ...error:(NSError**)error methods.
  • #171 - Support full range of unsigned long long as proper integer type.
  • #128 - Support full range of double. This also removes NSDecimalNumber support.
  • #180 - Add @rpath support to SBJson.framework build settings.
  • #182 - Add option to process values as they’re parsed.

The main reason for a major version change is the removal of the some methods, to allow focus on streaming as explained in this blog post. The change to support the full range of double was also significant enough that it might have warranted a major version release on its own.

Several community members have contributed to this release.