withFallbackJsonAdapter

open fun withFallbackJsonAdapter(@Nullable() fallbackJsonAdapter: JsonAdapter<Any>): PolymorphicJsonAdapterFactory<T>

Returns a new factory that with default to {@code fallbackJsonAdapter.fromJson(reader)} upondecoding of unrecognized labels.

The JsonReader instance will not be automatically consumed, so make sure to consumeit within your implementation of fromJson