Class ThriftJacksonModule

java.lang.Object
com.fasterxml.jackson.databind.Module
com.linecorp.armeria.common.thrift.ThriftJacksonModule
All Implemented Interfaces:
Versioned

public final class ThriftJacksonModule
extends Module
Jackson Module for Thrift types. You can serialize ThriftCall, ThriftReply, TMessage, TBase and TApplicationException by registering this module:

 ObjectMapper objectMapper = new ObjectMapper();
 objectMapper.registerModule(new ThriftJacksonModule());
 
See Also:
ObjectMapper.registerModule(Module)