mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 07:59:21 +08:00
Add another twist
This commit is contained in:
@@ -126,7 +126,7 @@ abstract class Layer3<C, D> : Layer2<D>() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@JsonClass(generateAdapter = true)
|
@JsonClass(generateAdapter = true)
|
||||||
data class Layer4<E, F>(
|
data class Layer4<E : Personable, F>(
|
||||||
val layer4E: E,
|
val layer4E: E,
|
||||||
val layer4F: F? = null
|
val layer4F: F? = null
|
||||||
) : Layer3<List<Int>, String>(), LayerInterface<String>
|
) : Layer3<List<Int>, String>(), LayerInterface<String>
|
||||||
|
Reference in New Issue
Block a user