JsonResponseSerializer
A response deserializer to JSON objects.
-
Deserialize the response received.
Declaration
Swift
public func response(data: NSData) -> (AnyObject?)
Return Value
the serialized response
-
Validate the response received.
Declaration
Swift
public func validateResponse(response: NSURLResponse!, data: NSData, error: NSErrorPointer) -> Bool
Return Value
either true or false if the response is valid for this particular serializer.
-
Undocumented