Handle decoding into embedded structs; adapt encoding/json type field handling code
Encode primitive types
Split eKeyVal into eKeyEq and ePrimitive
Encode arrays and slices
Encode arrays and slices
Encode basic nested struct
Encode a struct with multiple nested structs
Encode deeply nested structs and nil structs
Encode map
Encode direct keys before encoding keys that create their own tables
Write keys using struct field toml tag
Encode embedded structs