Skip to content

Commit

Permalink
remove obsolete comments
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmouracorreia committed Jan 21, 2019
1 parent 4ac3a14 commit 1e7930f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions AlamofireObjectMapper/AlamofireObjectMapper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -349,14 +349,10 @@ public final class MappableArrayResponseSerializer<T: BaseMappable>: ResponseSer
}
}



/// Utility function for extracting JSON from response
internal func processResponse(request: URLRequest?, response: HTTPURLResponse?, data: Data?, keyPath: String?) -> Any? {

// ResponseSerializer(
let jsonResponseSerializer = JSONResponseSerializer(options: .allowFragments)
//let jsonResponseSerializer = DataRequest.jsonResponseSerializer(options: .allowFragments)
if let result = try? jsonResponseSerializer.serialize(request: request, response: response, data: data, error: nil) {

let JSON: Any?
Expand Down

0 comments on commit 1e7930f

Please sign in to comment.