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