mirror of
https://github.com/KumoCorp/kumomta.git
synced 2026-10-06 08:00:47 +00:00
Update docs for new stable tag ``` ./assets/find-since-dev.sh 2026.09.22-a276d4a8 ./docs/build.sh ```
786 B
786 B
kumo.serde.toml_encode_pretty_compact
kumo.serde.toml_encode_pretty_compact(VALUE)
{{since('2026.09.22-a276d4a8')}}
Attempts to encode VALUE as its TOML equivalent and returns that value serialized as a string, with two layout normalizations applied on top of the default pretty representation:
- Keys are sorted alphabetically at every nesting level so the output is stable and scan-friendly regardless of the order in which the underlying table was constructed.
- Empty tables are emitted inline as
key = {}rather than as a standalone[key]section header.
See also kumo.serde.toml_encode, kumo.serde.toml_encode_pretty, kumo.serde.toml_parse and kumo.serde.toml_load.