Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: v1.4
Commits on Mar 23, 2011
  1. This commit includes the "Serialize a single NSString" feature/pull r…

    authored
    …equest from issue #4 and issue #11.  Also replaces jk_encode() function with the JKSerializer class.  This is a forward looking change as placing the state in to an autoreleased object that does serializing means that we can always make sure that any resources we might have allocated will get released, no matter what.  This could be a problem, for example, if something throws an exception while we are serializing.
Commits on Mar 22, 2011
  1. Fix a couple of potential memory leaks in extremely unlikely and rare…

    authored
    … circumstances. Modify the primary parsing initial token matcher to use a if/else if/else if structure instead of switch()/case and organize the if statements to occur in the order they are statistically likely to appear in JSON for a performance win. Also make a minor README.md tweak.
  2. Minor tidies.

    authored
  3. Misc documentation updates.

    authored
Commits on Mar 21, 2011
  1. Catch a few additional NSInvalidArgument exception cases that the Cco…

    authored
    …ca collection classes catch.
  2. Minor change to the method swizzling functions. It doesn't make a dif…

    authored
    …ference in the way we use it, but this corrects it so that it is more 'correct'.
  3. Changed the way jk_encode_write1 is handled so that the optimizer is …

    authored
    …able to do a better job. Also modified jk_encode_printf to fix a potential bug wrt/ va_end, and used a va_copy() to make a copy of the varArgs. This is needed if the first vsnprintf overruns the buffer and we need to call it again, the first call may leave the passed varArgs in a state that is unusable by the next call- hence we make a va_copy and use the copy on the second call. Also did some tidies on various jk_encode_write|print functions.
Commits on Mar 17, 2011
  1. Additional assertion checks wrt/ issue #9. Issue #9 looks like it cou…

    authored
    …ld be a stack smash? The assertion checks make sure we're only copying legal values and not writing past a buffer by accident.
Commits on Mar 11, 2011
  1. Fixes a bug. See issue #8.

    authored
Commits on Mar 8, 2011
Commits on Mar 6, 2011
  1. Significantly improve writing/serializing performance by caching the …

    authored
    …offset in the buffer for the last conversion for an object.
Commits on Mar 4, 2011
Commits on Mar 3, 2011
  1. Some changes to the way cache aging is handled that improves L1 cache…

    authored
    … locality. Changes some of the convience functions so that they leave as little autorelease pending allocations hanging around as possible to minimize our memory footprint.
Commits on Feb 28, 2011
  1. Initial push of JSONKit v1.4. May not be the final v1.4 commit. See C…

    authored
    …HANGELOG.md for info. The biggest news is JSONKit is anywhere from 30% to 60% faster than JSONKit v1.3 for reading / parsing JSON!
Commits on Feb 21, 2011
  1. Fixed a bug wrt/ not correctly handling < 0x20 characters in strings …

    authored
    …when the slow string parsing path was active.
Commits on Feb 19, 2011
  1. Fixes a bug in parsing unicode strings with high surrogates. Changed …

    authored
    …some illegal unicode escapes such that JKParseOptionLooseUnicode was honored. Modified the way floating point values are serialized: previously, the printf format conversion '%.16g' was used, changed to '%.17g' which should theoretically allow for up to a full 'float' (aka single precision) of precision when converting to decimal representation.
Commits on Feb 5, 2011
Commits on Jan 16, 2011
  1. Changed the hash function for numbers to the generic standard hash fu…

    authored
    …nction. The (now removed) hash function for numbers was originally put in place during the initial development of JSONKit in an attempt to avoid hash collisions and table probe / accelerated cache ageing due to similar hashes. This problem was fixed using a different technique, but the old hash function remained for some reason. Although it depends heavily on the JSON being parsed, this change can result in a 2-6% increase in parsing speed.
Commits on Jan 11, 2011
  1. Add backticks around NULL.

    authored
Commits on Jan 9, 2011
  1. Fixed a serious crashing bug. Fixed a memory leak. Fixed an off by on…

    authored
    …e error. Updated the README.md file. Added CHANGELOG.md
Commits on Aug 10, 2010
  1. Fixed a memory leak when the JSON being parsed contained associative …

    authored
    …arrays where the same key appeared more than once. Also hacked around the CFNumber limitation where CFNumbers only have a signed type for numbers and do not have an explicity unsigned type. Switched the README to README.md.
Commits on Jul 30, 2010
  1. Improve the performance of NSNumber serialization, add a few more con…

    authored
    …venience methods, plus a few other bits and pieces.
Commits on Jul 28, 2010
  1. Initial check in.

    authored
Commits on Jul 27, 2010
  1. first commit

    John Engelhart authored
Something went wrong with that request. Please try again.