Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for encoding/decoding for basic types #26

Open
okomestudio opened this issue Apr 26, 2020 · 0 comments
Open

Support for encoding/decoding for basic types #26

okomestudio opened this issue Apr 26, 2020 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@okomestudio
Copy link
Owner

okomestudio commented Apr 26, 2020

To support loading/saving from various config file formats, there needs to be a layer that does encoding/decoding to data that those formats understand.

We cannot deal with this in an open-ended fashion, but we could support encoding/decoding of basic types, with a method to extend to user-defined, arbitrary types.

The tables below summarizes data types the supported config file formats support:

Format str int float bool datetime null
INI x
JSON x x (number) x (number) x x
TOML x x x x x x
YAML x x x x x
Format sequence mapping
INI
JSON x x
TOML x x (table)
YAML x x

The goal is to find the greatest common devisor to support.

@okomestudio okomestudio added the enhancement New feature or request label Apr 26, 2020
@okomestudio okomestudio added this to the beta milestone Apr 26, 2020
okomestudio added a commit that referenced this issue May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant