public class MatchFieldCodec extends OfJsonCodec<MatchField>
MatchField
objects.VERSION
log, mapper, NO_DECODING_SUP, root, roots
Modifier | Constructor and Description |
---|---|
protected |
MatchFieldCodec()
Constructs a MatchField Codec.
|
Modifier and Type | Method and Description |
---|---|
MatchField |
decode(com.fasterxml.jackson.databind.node.ObjectNode node)
Decodes the JSON into a typed POJO.
|
com.fasterxml.jackson.databind.node.ObjectNode |
encode(MatchField mf)
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 com.fasterxml.jackson.databind.node.ObjectNode encode(MatchField mf)
JsonCodec
mf
- POJO to encodepublic MatchField decode(com.fasterxml.jackson.databind.node.ObjectNode node)
JsonCodec
node
- JSON representation of the typed POJO. This does not have a
"top" rootCopyright © 2015. All Rights Reserved.