0

Normally, if a key doesn't exist in the response we created, Retrofit simply makes the variable null. I want to get JSONException if the key doesn't exist or something happens against the model we created. Is there any way to achieve this ?

Tim
  • 41,901
  • 18
  • 127
  • 145
theapache64
  • 10,926
  • 9
  • 65
  • 108

0 Answers0