Skip to content

Does this require a concrete class or can we set and get values directly? #30

@Shadowblitz16

Description

@Shadowblitz16

I just looked at toml and I like the syntax mush more then json.
However I am looking for something like this in a toml library...

var tomlFile = new TomlFile(filepath);
tomlFile.Set<T>(T value); //create if doesn't exist and sets it
T value = tomlFile.Get<T>(); //gets the value or default.
tomlFile.Save(); //optional filepath

Is this supported if not how hard would it be to do?

Edit: btw the name and avatar of this library made me laugh.

Metadata

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