with Fallback Json Adapter
open fun withFallbackJsonAdapter(@Nullable() fallbackJsonAdapter: JsonAdapter<Any>): PolymorphicJsonAdapterFactory<T>
Content copied to clipboard
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