mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 07:59:21 +08:00
Add missing val and fix indentation in README
This commit is contained in:
@@ -520,8 +520,8 @@ encode as JSON:
|
|||||||
```kotlin
|
```kotlin
|
||||||
@JsonClass(generateAdapter = true)
|
@JsonClass(generateAdapter = true)
|
||||||
data class BlackjackHand(
|
data class BlackjackHand(
|
||||||
hidden_card: Card,
|
val hidden_card: Card,
|
||||||
visible_cards: List<Card>
|
val visible_cards: List<Card>
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user