title: Mappting Alamofire responseJSON via ObjectMapper
body: <p>Note: I need to use ObjectMapper, and not AlamoFireObjectMapper.</p>
  
  <p>How do you map without going to JSON but from responseJSON data to map to User? The following is trying to go from responseJSON to jsonn and then back again to data(being User). I guess there must be a way?</p>
  
  <p>Or should I use responseData from AlamoFire?</p>
  
  <pre><code>public class User: Mappable {
      var username: String?
  
      required public init?(map: Map) {
  
      }
  
      // Mappable
      public func mapping(map: Map) {
          username    &lt;- map["username"]
      }
  }
  
  
      Alamofire.request(
          url,
          method: .get,
          headers: headers_employees).responseJSON {
              response in
          // Map via ObjectMapper
          let [User] = Mapper&lt;User&gt;().map(JSONString: JSONString)
  
     }
  </code></pre>