public class InstructionCodec extends OfJsonCodec<Instruction>
Instruction objects.VERSIONlog, mapper, NO_DECODING_SUP, root, roots| Modifier | Constructor and Description |
|---|---|
protected |
InstructionCodec()
Constructs an Instruction Codec.
|
| Modifier and Type | Method and Description |
|---|---|
Instruction |
decode(com.fasterxml.jackson.databind.node.ObjectNode node)
Decodes the JSON into a typed POJO.
|
com.fasterxml.jackson.databind.node.ObjectNode |
encode(Instruction ins)
Encodes the given POJO to its JSON representation.
|
decode, decodeList, encode, encodeList, versionarrayNode, encodeList, fromEnums, isMissingContent, longVal, objectNode, read, root, roots, toEnums, writepublic com.fasterxml.jackson.databind.node.ObjectNode encode(Instruction ins)
JsonCodecins - POJO to encodepublic Instruction decode(com.fasterxml.jackson.databind.node.ObjectNode node)
JsonCodecnode - JSON representation of the typed POJO. This does not have a
"top" rootCopyright © 2014. All Rights Reserved.