I'm very new to Kotlin and am curious what magic allows this code to work:
@Serializable
data class Box(val s: StringHolder?)
val deserialized = Json.decodeFromString<Box>(string)
When the function definition seems to require an initial argument before the encoded JSON string.
public final override fun <T> decodeFromString(deserializer: DeserializationStrategy<T>, string: String): T {