putAny

fun putAny(key: String, value: Any?)

Put an arbitrary value, converted with anyToJsonElement (String/Number/Boolean/Enum/List/Map, or null). Use this for null values.