public class MBodyGroupStatsCodec extends OfJsonCodec<MBodyGroupStats>
MBodyGroupStats
objects.Modifier and Type | Field and Description |
---|---|
static String |
ROOT |
static String |
ROOTS |
VERSION
log, mapper, NO_DECODING_SUP, root, roots
Modifier | Constructor and Description |
---|---|
protected |
MBodyGroupStatsCodec() |
Modifier and Type | Method and Description |
---|---|
MBodyGroupStats |
decode(com.fasterxml.jackson.databind.node.ObjectNode groupNode)
Decodes the JSON into a typed POJO.
|
com.fasterxml.jackson.databind.node.ObjectNode |
encode(MBodyGroupStats mbgs)
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 ROOT
public static final String ROOTS
public com.fasterxml.jackson.databind.node.ObjectNode encode(MBodyGroupStats mbgs)
JsonCodec
mbgs
- POJO to encodepublic MBodyGroupStats 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.