Interface StructuredCodec<T>

All Superinterfaces:
StructuredDecoder<T>, StructuredEncoder<T>
All Known Implementing Classes:
CodecSubtype

public interface StructuredCodec<T>
extends StructuredEncoder<T>, StructuredDecoder<T>
A structured codec is an object that describes how some type T can be written into StructuredOutput or read from StructuredInput. The actual representation is abstracted away, so the same codec can be used to write or read an object into/from various formats and protocols.