Back to Browse

HttpClient vs Retrofit: JSON Nulls/Defaults, Missing Fields, & Fields that can be String or Numeric

314 views
Apr 23, 2023
14:24

In this video, I explore the different JSON responses that come back from Ktor's HttpClient vs Retrofit. I'll also go over missing JSON fields, JSON fields that can come back as a string or a numeric value, and how to handle nulls and defaults in our data classes. https://github.com/santansarah/retrofit-vs-httpclient-null-json/tree/ktor_httpclient https://github.com/santansarah/retrofit-vs-httpclient-null-json/tree/retrofit

Download

0 formats

No download links available.

HttpClient vs Retrofit: JSON Nulls/Defaults, Missing Fields, & Fields that can be String or Numeric | NatokHD