appendJson
fun Buffer.appendJson(pretty: Boolean = false, block: Json.() -> Any): Buffer
Appends the specified json {@code block} to the end of this Buffer. The buffer will expand as necessary to accommodate any bytes written.