withJackson

fun StompSession.withJackson(objectMapper: ObjectMapper = jacksonObjectMapper()): TypedStompSession(source)

Wraps this StompSession to add methods that can convert message bodies using the provided Jackson objectMapper.