i'm using jackson with a java-library. i want to c...
# getting-started
t
i'm using jackson with a java-library. i want to convert this java:
Copy code
TestObject test = req.bodyAsClass(TestObject.class);
to kotlin.. i have
Copy code
val test = jacksonObjectMapper().readValue<TestObject>(req.body())
currently, but i was hoping i could take advantage of the built-in objectmapping from
bodyAsClass