public class TopologyPathCodec extends AbstractJsonCodec<L2Path>
L2Path objects.| Modifier and Type | Field and Description |
|---|---|
static String |
PATH |
static String |
PATHS |
log, mapper, NO_DECODING_SUP, root, roots| Constructor and Description |
|---|
TopologyPathCodec() |
| Modifier and Type | Method and Description |
|---|---|
L2Path |
decode(com.fasterxml.jackson.databind.node.ObjectNode node)
Decodes the JSON into a typed POJO.
|
com.fasterxml.jackson.databind.node.ObjectNode |
encode(L2Path topopath)
Encodes the given POJO to its JSON representation.
|
arrayNode, decode, decodeList, encode, encodeList, encodeList, fromEnums, isMissingContent, longVal, objectNode, read, root, roots, toEnums, writepublic static final String PATH
public static final String PATHS
public com.fasterxml.jackson.databind.node.ObjectNode encode(L2Path topopath)
JsonCodectopopath - POJO to encodeCopyright © 2014. All Rights Reserved.