JSONKit v1.2 Release Notes
Release Date: 2011-02-12 // about 13 years ago-
๐ Bug Fixes
- ๐ When JSONKit attempted to parse and decode JSON that contained
{"key": value}
dictionaries that contained the same key more than once would likely result in a crash. This was a serious bug. - Under some conditions, JSONKit could potentially leak memory.
- ๐ There was an off by one error in the code that checked whether or not the parser was at the end of the
UTF8
buffer. This could result in JSONKit reading one by past the buffer bounds in some cases.
Other Changes
- ๐ Some of the methods were missing
NULL
pointer checks for some of their arguments. This was fixed. In generally, when JSONKit encounters invalid arguments, it throws aNSInvalidArgumentException
exception. - Various other minor changes such as tightening up numeric literals with
UL
orL
qualification, assertion check tweaks and additions, etc. - โก๏ธ The README.md file was updated with additional information.
- ๐ When JSONKit attempted to parse and decode JSON that contained