withJackson

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

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