Package io.bytestreams.codec.core
Interface Inspectable<T>
- Type Parameters:
T- the type of the value to inspect
- All Known Implementing Classes:
ChoiceCodec,ConstantCodec,FixedListCodec,LazyCodec,PairCodec,RecordingCodec,SequentialObjectCodec,StreamListCodec,TaggedObjectCodec,TripleCodec,VariableByteLengthCodec,VariableItemLengthCodec
public interface Inspectable<T>
Extension point for codecs to participate in field inspection.
Built-in composite codecs implement this interface to provide structured representations of their values. Custom codec implementations can also implement this interface.
-
Method Summary
-
Method Details
-
inspect
Returns a structured representation of the given value.- Parameters:
value- the decoded value to inspect- Returns:
- a structured representation (Map, List, or scalar)
-