public class DataPathInfoCodec extends AbstractJsonCodec<DataPathInfo>
DataPathInfo. Requires PortCodec as a
pre-requisite.log, mapper, NO_DECODING_SUP, root, roots| Modifier | Constructor and Description |
|---|---|
protected |
DataPathInfoCodec()
Constructs a DataPathInfo Codec.
|
| Modifier and Type | Method and Description |
|---|---|
DataPathInfo |
decode(com.fasterxml.jackson.databind.node.ObjectNode node)
Decodes the JSON into a typed POJO.
|
com.fasterxml.jackson.databind.node.ObjectNode |
encode(DataPathInfo dpi)
Encodes the given POJO to its JSON representation.
|
arrayNode, decode, decodeList, encode, encodeList, encodeList, fromEnums, isMissingContent, longVal, objectNode, read, root, roots, toEnums, writepublic com.fasterxml.jackson.databind.node.ObjectNode encode(DataPathInfo dpi)
JsonCodecdpi - POJO to encodepublic DataPathInfo decode(com.fasterxml.jackson.databind.node.ObjectNode node)
JsonCodecnode - JSON representation of the typed POJO. This does not have a
"top" rootCopyright © 2014. All Rights Reserved.