ObjectMapper is a framework written in Swift that makes it easy for you to convert your model objects (classes and structs) to and from JSON. Once your class implements Mappable, ObjectMapper allows you to easily convert to and from JSON. Use functions to validate JSON prior to object serialization provide an existing cached object to be used for mapping, return an object of another type (which also conforms to BaseMappable) to be used for mapping. For instance, you may inspect the JSON to...
Swift is strictly specific about types. But even if explicit typing is good for avoiding making mistakes, it becomes painful when we're dealing with JSON and other aspects that are, by definition, implicit about types. SwiftyJSON, however, facilitates the use of JSON data in Swift.
Simple and strict, yet powerful object mapping is made possible by Swift 2's error handling. Greatly inspired by Argo, but without a bazillion functional operators.