Package | Description |
---|---|
com.squareup.moshi.adapters |
Modifier and Type | Method and Description |
---|---|
static <T> PolymorphicJsonAdapterFactory<T> |
PolymorphicJsonAdapterFactory.of(java.lang.Class<T> baseType,
java.lang.String labelKey) |
PolymorphicJsonAdapterFactory<T> |
PolymorphicJsonAdapterFactory.withSubtype(java.lang.Class<? extends T> subtype,
java.lang.String label)
Returns a new factory that decodes instances of
subtype . |
Copyright © 2018. All Rights Reserved.