inline fun <reified A> fromJson(json: String...
# announcements
r
inline fun <reified A> fromJson(json: String): A { return try { jackson.readValue<A>(json, A::class.java) } catch (x: Exception) { // can't catch here... throw BadRequestException() } }