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