Reading List
JSONSerialization Can Throw NSExceptions from Michael Tsai RSS feed.
JSONSerialization Can Throw NSExceptions
Peter Steinberger (tweet): lol of the day: Apple’s JSONSerialization can throw NSExceptions. These cannot be captured in Swift. Gotta go back to ObjC and write a wrapper. The documentation suggests that to avoid this you can first call isValidJSONObject(). Of course, you have to remember to do this, and it adds overhead to the common […]