I\'m consuming an API from my android app, and all the JSON responses are like this:
{ \'status\': \'OK\', \'reason\': \'Everything was fine\', \
A better solution could be this..
public class ApiResponse { public T data; public String status; public String reason; }
Then, define your service like this..
Observable> updateDevice(..);