What does Spring use to do deserialization?

I have the following class: data class Thing(val lines: List<String>) The JSON representation is: { “lines”: [ “something”, “something else” ] } Spring WebFlux can successfully parse this with the following: // Parse the JSON as an object and return it. request -> ServerResponse.ok().body(request.bodyToMono(Thing::class.java) However, using Jackson directly with either of the following techniques fails:…

Details

Kodein Injecting into WorkManager

I’m new to android development, i need to inject WorkManager for using kodein but i don’t know where to start it this is how to inject activities class MyActivity : Activity(), KodeinAware { override val kodein by kodein() val ds: DataSource by instance() override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) ds.connect() /* … */ } }…

Details