Class CodecSubtype<T>

java.lang.Object
io.activej.codec.CodecSubtype<T>
All Implemented Interfaces:
StructuredCodec<T>, StructuredDecoder<T>, StructuredEncoder<T>, WithInitializer<CodecSubtype<T>>

public final class CodecSubtype<T>
extends Object
implements WithInitializer<CodecSubtype<T>>, StructuredCodec<T>
This is a codec that stores subtypes of T with different codecs as a tagged union with string tags.