public class NodeInfoCodec extends AbstractJsonCodec<NodeInfo>
NodeInfo
objects.Modifier and Type | Field and Description |
---|---|
static String |
INFO |
log, mapper, NO_DECODING_SUP, root, roots
Constructor and Description |
---|
NodeInfoCodec() |
Modifier and Type | Method and Description |
---|---|
NodeInfo |
decode(com.fasterxml.jackson.databind.node.ObjectNode obj)
Decodes the JSON into a typed POJO.
|
com.fasterxml.jackson.databind.node.ObjectNode |
encode(NodeInfo info)
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 INFO
public com.fasterxml.jackson.databind.node.ObjectNode encode(NodeInfo info)
JsonCodec
info
- POJO to encodeCopyright © 2015. All Rights Reserved.