boolean

fun boolean(key: String, value: Boolean)

Adds field of type JsonBoolean with given value.