-
Website
http://toxicsoftware.com/ -
Original page
http://toxicsoftware.com/cocoajson/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
schwa
20 comments · 2 points
-
Alexander Mikhalev
1 comment · 1 points
-
myxibrium
1 comment · 1 points
-
somegeekintn
1 comment · 1 points
-
Stewf
2 comments · 1 points
-
-
Popular Threads
{
"firstName": "Jim",
"lastName": "Morrison"
}
I thought the culprit might be NSScanner_Extensions skipWhitespace. Surely this should be using whitespaceAndNewlineCharacterSet instead of whitespaceCharacterSet?
So, I tried changing it. This got the scanner a couple of characters further but it still bails out at the first opportunity. I had a look at the unit tests to see whether they would prove my suspicions wrong. They only served to confirm them, though: all unit tests test against single-line input.
Am I expecting too much? Am I missing something?
It _should_ work, so you could be doing something braindead. Or it could just be buggy. I'm not doing any work on CocoaJSON right now so feel free to fix it and send me a patch :-)
Otherwise I'll add to the list of things I need to do. I really need a public facing bug tracker.
Cheers.
Jon.
Thanks!
http://code.google.com/p/touchcode/wiki/TouchJSON