public class OfmExperimenterCodec extends AbstractJsonCodec<OfmExperimenter>
OfmExperimenter
objects.Modifier and Type | Field and Description |
---|---|
static String |
ROOT
JSON key for meter.
|
static String |
ROOTS
JSON key for meters.
|
log, mapper, NO_DECODING_SUP, root, roots
Modifier | Constructor and Description |
---|---|
protected |
OfmExperimenterCodec() |
Modifier and Type | Method and Description |
---|---|
OfmExperimenter |
decode(com.fasterxml.jackson.databind.node.ObjectNode meterNode)
Decodes the JSON into a typed POJO.
|
com.fasterxml.jackson.databind.node.ObjectNode |
encode(OfmExperimenter expMod)
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 ROOT
public static final String ROOTS
public com.fasterxml.jackson.databind.node.ObjectNode encode(OfmExperimenter expMod)
JsonCodec
expMod
- POJO to encodepublic OfmExperimenter decode(com.fasterxml.jackson.databind.node.ObjectNode meterNode)
JsonCodec
meterNode
- JSON representation of the typed POJO. This does not have a
"top" rootCopyright © 2015. All Rights Reserved.