Currently, a struct is the only valid type that can be decoded into at a the top-level. The internal function decodeMap is specialized to decode the INI "subkey" format (prop[subkey]=value). It should be possible though, with some changes to decodeMap and decode, to allow a map to be decoded at the top-level.