Willy Njundong
const myObject = { someKey: someValue, someOtherKey: [{foo: "bar"}, {bar: "foo"}] }
Casey Brooks
mapOf()
val myObject = mapOf( "someKey" to someValue, "someOtherKey" to listOf(mapOf("foo" to "bar"), mapOf("bar" to "foo")) )
Mike
data class
A modern programming language that makes developers happier.