Skip to content

Allow decoding into a map at the top-level #5

Open
@subpop

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions