Inherits from | AFHTTPResponseSerializer : NSObject |
Declared in | AFURLResponseSerialization.h |
Overview
AFXMLDocumentSerializer
is a subclass of AFHTTPSerializer
that validates and decodes XML responses as an NSXMLDocument
objects.
By default, AFXMLDocumentSerializer
accepts the following MIME types, which includes the official standard, application/xml
, as well as other commonly-used types:
application/xml
text/xml
Tasks
-
options
Input and output options specifically intended for
propertyNSXMLDocument
objects. For possible values, see theNSJSONSerialization
documentation section “NSJSONReadingOptions”.0
by default. -
+ serializerWithXMLDocumentOptions:
Creates and returns an XML document serializer with the specified options.