public class JsonCodec extends Object
| Modifier and Type | Field and Description |
|---|---|
static com.fasterxml.jackson.databind.ObjectMapper |
mapper |
| Constructor and Description |
|---|
JsonCodec() |
public static <T> T decode(org.fusesource.hawtbuf.Buffer buffer,
Class<T> type)
throws IOException
IOExceptionpublic static org.fusesource.hawtbuf.Buffer encode(Object value) throws IOException
IOExceptionCopyright © 2005–2015 The Apache Software Foundation. All rights reserved.