Versions in this module Expand all Collapse all v0 v0.4.2 May 31, 2023 Changes in this version + const KeyEscapeRune + func EscapeNonStringKeys(l *lua.LState, value lua.LValue) lua.LValue + func Format(name string, value interface{}, opts ...Option) string + func UnescapeNonStringKeys(l *lua.LState, value lua.LValue) lua.LValue + type KeySortType int8 + const KeySortAlphabetical + const KeySortAlphabeticalReversed + const KeySortHashFnv64 + const KeySortHashFnv64Reversed + const KeySortNone + type Option func(*options) + func IndentWidthStep(width int) Option + func KeySort(sort KeySortType) Option + func KeySortPriority(priority ...string) Option + func MaxLineLength(length int) Option + func RootIndentWidth(width int) Option + func RootTrait(trait string) Option