Skip to content Skip to sidebar Skip to footer
Showing posts with the label Moshi

Execution Failed For Task ':app:kaptdebugkotlin' When I Create Moshi Data Class

When I create Moshi Data Class, It doesn't build properly The following is the Error when I try… Read more Execution Failed For Task ':app:kaptdebugkotlin' When I Create Moshi Data Class

Broken Server Response Handling With Moshi

The expected json response from server should be : { 'teacher': { '123': { … Read more Broken Server Response Handling With Moshi

Turn String Date From Json To A Date Object With Moshi

with Gson you would do this Gson gson = new GsonBuilder() .setDateFormat('yyyy-MM-d… Read more Turn String Date From Json To A Date Object With Moshi

Using An Annotation To Serialize Null In Moshi With Nested Event

I am attempting to add a custom annotation to serialize specific values in my model to null when ca… Read more Using An Annotation To Serialize Null In Moshi With Nested Event