public class ConnectionPointCodec extends AbstractJsonCodec<ConnectionPoint>
ConnectionPoint
objects.Modifier and Type | Field and Description |
---|---|
static String |
CP |
log, mapper, NO_DECODING_SUP, root, roots
Constructor and Description |
---|
ConnectionPointCodec() |
Modifier and Type | Method and Description |
---|---|
ConnectionPoint |
decode(com.fasterxml.jackson.databind.node.ObjectNode obj)
Decodes the JSON into a typed POJO.
|
com.fasterxml.jackson.databind.node.ObjectNode |
encode(ConnectionPoint cp)
Encodes the given POJO to its JSON representation.
|
arrayNode, decode, decodeList, encode, encodeIterator, encodeIterator, encodeList, encodeList, fromEnums, isMissingContent, longVal, objectNode, read, root, roots, toEnums, write
public static final String CP
public com.fasterxml.jackson.databind.node.ObjectNode encode(ConnectionPoint cp)
JsonCodec
cp
- POJO to encodepublic ConnectionPoint decode(com.fasterxml.jackson.databind.node.ObjectNode obj)
JsonCodec
obj
- JSON representation of the typed POJO. This does not have a
"top" rootCopyright © 2015. All Rights Reserved.