Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@JsonClass(generateAdapter = true)
data class Vehicle(
@Json(name = "type") val type: VehicleType,
@Json(name = "waterCannon") val waterCannon: Boolean?,
@Json(name = "wingsSpanInMetres") val wingsSpanInMetres: Int?
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment