Alamofire JSON Serialization of Objects and Collections
Alamofire is a great Swift library developed by the creator of AFNetworking @mattt. The purpose of this gist is to explain how to use the built-in power of Alamofire to serialize your JSON. In this example we will be serializing a simple blog API. First we will start with serializing a single JSON object and add complexity as we go along.
Warning: This was written before Swift 1.2
A Single JSON Serialization
This is the first JSON object that we will be serializing.