7digital/SevenDigital.Api.Wrapper — pull request #168 by AnthonySteele (2014-06-09 10:16:00+00:00)
Title: Response as

Added ResponseAs method to the fluent api. It is like getting the raw Response(), but it is also deserialised into the specified DTO with the usual error checks and exceptions as per Please().

This method decouples the DTO used to find the endpoint from the DTO populated with the response data. It will be useful in some customised scenarios.
In this case, if the response's Content-Type is json, the json deserialiser will be used instead of the xml one.