The rest API that I'm calling just returns an integer: 12.
As far as I know that is a valid json although I would have been happier if I could change the response on the server side to something more canonical. Unfortunately that is not an option for me.
Is there a way to use Retrofit to handle that response too?
EDIT
See: this question and the spec
So it seems the new spec allows to use simple string or integer as a json Text