<@U2GS67JB0>: `fromJson2` function must be inlined...
# announcements
v
@skoude:
fromJson2
function must be inlined and reified:
Copy code
inline fun <reified T : Any> fromJson2(jsonString: String ) : List<T> {
  val JSON =  ObjectMapper().registerModule(KotlinModule())
  val myList = JSON.readValue<List<T>>(jsonString)
  return  myList
}