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