From 204dca0e3ee7bb474570ae423ce7a81019a8c458 Mon Sep 17 00:00:00 2001 From: lipengwei <lipengwei@nianben.com> Date: Wed, 27 May 2020 09:45:48 +0800 Subject: [PATCH] 3.8.4 --- frameworks/AFNetworking.framework/Headers/AFURLResponseSerialization.h | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/frameworks/AFNetworking.framework/Headers/AFURLResponseSerialization.h b/frameworks/AFNetworking.framework/Headers/AFURLResponseSerialization.h old mode 100755 new mode 100644 index 24800a3..56a4d28 --- a/frameworks/AFNetworking.framework/Headers/AFURLResponseSerialization.h +++ b/frameworks/AFNetworking.framework/Headers/AFURLResponseSerialization.h @@ -25,6 +25,11 @@ NS_ASSUME_NONNULL_BEGIN /** + Recursively removes `NSNull` values from a JSON object. +*/ +FOUNDATION_EXPORT id AFJSONObjectByRemovingKeysWithNullValues(id JSONObject, NSJSONReadingOptions readingOptions); + +/** The `AFURLResponseSerialization` protocol is adopted by an object that decodes data into a more useful object representation, according to details in the server response. Response serializers may additionally perform validation on the incoming response and data. For example, a JSON response serializer may check for an acceptable status code (`2XX` range) and content type (`application/json`), decoding a valid JSON response into an object. @@ -56,8 +61,6 @@ @interface AFHTTPResponseSerializer : NSObject <AFURLResponseSerialization> - (instancetype)init; - -@property (nonatomic, assign) NSStringEncoding stringEncoding DEPRECATED_MSG_ATTRIBUTE("The string encoding is never used. AFHTTPResponseSerializer only validates status codes and content types but does not try to decode the received data in any way."); /** Creates and returns a serializer with default configuration. -- Gitblit v1.8.0