stig/json-framework — Issue #124: objectWithData fails
Author: alexmatveev
Created: 2012-02-21 09:15:06+00:00
State: open

When I try

NSDictionary *results = [parser objectWithData:data];

Application fails at

- (sbjson_token_t)getStringToken:(NSObject**)token {

At line

if (![_stream getRetainedStringFragment:&string])

With message

-[SBJsonUTF8Stream getRetainedStringFragment:]: unrecognized selector sent to instance 0x58629a0
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SBJsonUTF8Stream getRetainedStringFragment:]: unrecognized selector sent to instance 0x58629a0'