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