How use Kotlin enum with Retrofit?

Issue How can I parse JSON to model with enum? Here is my enum class: enum class VehicleEnumEntity(val value: String) { CAR(“vehicle”), MOTORCYCLE(“motorcycle”), VAN(“van”), MOTORHOME(“motorhome”), OTHER(“other”) } and I need to parse type into an enum “vehicle”: { “data”: {

Continue reading