From the course: Android Development: Retrofit with Java

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Change the names of properties

Change the names of properties - Android Tutorial

From the course: Android Development: Retrofit with Java

Start my 1-month free trial

Change the names of properties

- [Instructor] When working with converters - [Instructor] When working with converters - [Instructor] When working with converters for serializing and deserializing data, for serializing and deserializing data, for serializing and deserializing data, it is easy to feel trapped by the naming conventions used it is easy to feel trapped by the naming conventions used it is easy to feel trapped by the naming conventions used by the API you're communicating with. by the API you're communicating with. by the API you're communicating with. This is because by default most converters map This is because by default most converters map This is because by default most converters map the properties and the body of data to properties the properties and the body of data to properties the properties and the body of data to properties in your classes by name, in your classes by name, in your classes by name, which is a case-sensitive comparison. which is a case-sensitive…

Contents