float

fun float(key: String, value: Float)

Adds field of type JsonNumber with given Float.