Keith describes an open source library for parsing JSON written at Lyft, how it enables you to use immutable model objects, and why that's a good thing.
Double], let latitude = castedValue["lat"], let longitude = castedValue["lng"] { return CLLocationCoordinate2D(latitude: latitude, longitude: longitude) as? T } return nil