toml / org.apache.tuweni.toml / TomlTable / toJson

toJson

open fun toJson(): String (source)

Return a representation of this table using JSON.

Return
A JSON representation of this table.

open fun toJson(appendable: Appendable): Unit (source)

Append a JSON representation of this table to the appendable output.

Parameters

appendable - The appendable output.

Exceptions

IOException - If an IO error occurs.