public final class FlowStatInfoCodec extends JsonCodec<FlowStatInfo>
Constructor and Description |
---|
FlowStatInfoCodec() |
Modifier and Type | Method and Description |
---|---|
FlowStatInfo |
decode(com.fasterxml.jackson.databind.node.ObjectNode json,
CodecContext context)
Decodes the specified entity from JSON.
|
com.fasterxml.jackson.databind.node.ObjectNode |
encode(FlowStatInfo fsi,
CodecContext context)
Encodes the specified entity into JSON.
|
public com.fasterxml.jackson.databind.node.ObjectNode encode(FlowStatInfo fsi, CodecContext context)
JsonCodec
encode
in class JsonCodec<FlowStatInfo>
fsi
- entity to encodecontext
- encoding contextpublic FlowStatInfo decode(com.fasterxml.jackson.databind.node.ObjectNode json, CodecContext context)
JsonCodec
decode
in class JsonCodec<FlowStatInfo>
json
- JSON to decodecontext
- decoding context