jsonEntry

inline fun <T> jsonEntry(value: T): JsonElement(source)

Encodes a @Serializable value as JSON, keeping fields that equal their defaults.