public final class DecodeMappingInstructionCodecHelper extends Object
| Constructor and Description |
|---|
DecodeMappingInstructionCodecHelper(com.fasterxml.jackson.databind.node.ObjectNode json,
org.onosproject.codec.CodecContext context)
Creates a decode mapping instruction codec object.
|
| Modifier and Type | Method and Description |
|---|---|
MappingInstruction |
decode()
Decodes the JSON into a mapping instruction object.
|
public DecodeMappingInstructionCodecHelper(com.fasterxml.jackson.databind.node.ObjectNode json,
org.onosproject.codec.CodecContext context)
json - JSON object to decodecontext - codec contextpublic MappingInstruction decode()
IllegalArgumentException - if the JSON is invalid