Requires a pro subscription Pro

iOS 11 Screencasts: What's New in Foundation

Parsing JSON in Swift 4, with or without custom decoding, is vastly improved using the latest version of Foundation. You'll also learn some new Key Value Observing (KVO) features! By Brian Moakley.

Login to leave a rating/review
Save for later
Share

In the past working with JSON meant using either NSJSONSerialization class or a third party library. Now it's a matter of implementing a simple protocol.

Foundation now gives a new way to interact with KVO by way of new keypaths and the addition of observers.

When parsing JSON, things may not go as planned. In this screencast, you'll to develop your own parsing solutions to handle unexpected data.