public class PortCodec extends OfJsonCodec<Port>
Port
objects.Modifier and Type | Field and Description |
---|---|
static String |
ROOT |
static String |
ROOTS |
VERSION
log, mapper, NO_DECODING_SUP, root, roots
Constructor and Description |
---|
PortCodec() |
Modifier and Type | Method and Description |
---|---|
Port |
decode(com.fasterxml.jackson.databind.node.ObjectNode node)
Decodes the JSON into a typed POJO.
|
com.fasterxml.jackson.databind.node.ObjectNode |
encode(Port pojo)
Encodes the given POJO to its JSON representation.
|
decode, decodeList, encode, encodeList, version
arrayNode, encodeIterator, encodeIterator, encodeList, fromEnums, isMissingContent, longVal, objectNode, read, root, roots, toEnums, write
public static final String ROOT
public static final String ROOTS
Copyright © 2015. All Rights Reserved.