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