Closed taichino closed 7 months ago
Should TMResponseParserTests be updated to also have a few tests for an array?
You're right! Just added a test case here https://github.com/tumblr/TMTumblrSDK/pull/181/commits/a415dfdb4a296508125737558a1cbff74ca1d074
@aerych
:shipit:!
Currently,
TMParsedHTTPResponse
does not support an array as a top level response object, which means this class cannot handle a response like the following. (JSONDictionary
property is always empty dictionary)After this change,
TMParsedHTTPResponse
will have eitherJSONDictionary
orJSONArray
populated and clients can use either value accordingly.