Join Slack
Powered by
Hi, is there any additional settings should be set...
# serialization
d
Dmytro Boiko
02/21/2024, 12:01 PM
Hi, is there any additional settings should be setup for Json to get working retrofit Call<Void>?
j
jw
02/21/2024, 12:04 PM
You probably should ask in
#squarelibraries
, but
Call<Void>
bypasses conveters
jw
02/21/2024, 12:05 PM
It closes the response body and returns null. You should declare it as
Call<Void?>
for Kotlin
d
Dmytro Boiko
02/21/2024, 12:07 PM
@jw
thx, for the suggestion, but the body length is 0. Why it’s try to decode at all?
j
jw
02/21/2024, 12:11 PM
It doesn't try
Open in Slack
Previous
Next