toml_encode_pretty
On this page
wakterm.serde.toml_encode_pretty(value)#
Encodes the supplied lua value as a pretty-printed string of toml:
> wakterm.serde.toml_encode_pretty({foo = { "bar", "baz", "qux" } })
"foo = [\n \"bar\",\n \"baz\",\n \"qux\",\n]\n"