with Subtype
open fun withSubtype(subtype: Class<out T>, label: String): PolymorphicJsonAdapterFactory<T>
Content copied to clipboard
Returns a new factory that decodes instances of subtype.
Returns a new factory that decodes instances of subtype.