public class OfmGroupModCodec extends OfJsonCodec<OfmGroupMod>
OfmGroupMod objects.| Modifier and Type | Field and Description |
|---|---|
static String |
ROOT
JSON key for group
|
static String |
ROOTS
JSON key for groups
|
VERSIONlog, 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 groupMod)
Encodes the given POJO to its JSON representation.
|
decode, decodeList, encode, encodeList, versionarrayNode, encodeList, fromEnums, isMissingContent, longVal, objectNode, read, root, roots, toEnums, writepublic static final String ROOT
public static final String ROOTS
public com.fasterxml.jackson.databind.node.ObjectNode encode(OfmGroupMod groupMod)
JsonCodecgroupMod - POJO to encodepublic OfmGroupMod decode(com.fasterxml.jackson.databind.node.ObjectNode groupNode)
JsonCodecgroupNode - JSON representation of the typed POJO. This does not have a
"top" rootCopyright © 2014. All Rights Reserved.