https://kotlinlang.org logo
f

fstn

10/19/2017, 7:04 PM
ok I done that :
Copy code
val mapper = ObjectMapper().registerModule(KotlinModule())
        mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false);
it works but I’m not sure that is the good way to do