There are only following questions asked for this issue 1, 2 but they don't solve my question.
Question:
Suppose my api at http://www.example.com/getSomething will give {"Status":"False"}.
// desired
public Apiinter{
@GET("http://www.example.com/getSomething")
Observable<Boolean> getSomething();
}
i want something like Observale<Boolean> as returned , without making any extra POJO on the way, how to achieve that
My Try:
i can use a POJO/model (but i don't want to) , i can return JSONObject or JSONElement , but that will make not make Observable<Boolean> as returned value