Package io.bytestreams.codec.core
Class Inspector
java.lang.Object
io.bytestreams.codec.core.Inspector
Produces structured representations of decoded values by walking the codec tree.
Codecs that implement Inspectable provide their own inspection logic. For all other
codecs (typically primitives), the value is returned as-is.
-
Method Summary
-
Method Details
-
inspect
Returns a structured representation of the given value by walking the codec tree.- Parameters:
codec- the codec that produced the valuevalue- the decoded value to inspect- Returns:
- a structured representation (Map, List, or scalar)
-