Tommy
Tommy copied to clipboard
A single-file TOML reader and writer for C#
All numbers without decimal places are automatically loaded as integers which makes the implicit cast to double impossible. The only way around is an abomination like this: ```csharp double value...
I have read this: _The writer does not currently preserve the layout of the original document! This is to save size and keep things simple for now._ But I have...
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... ```cs var tomlFile =...
> Supported by TomlArray and TomlTable. I don't know if such a feature would be desired upstream. The goal is fine-grained control over spacing when writing inline tables, to better...
Hey there, I was just wondering if it were possible to read/write a file directly to/from a class, or am I going to have to manually assign each field? I...
Hi @dezhidki , Thank so much for this TOML parser library! It is awesome! For now, each time working with TomlNode, I need to get its key name. For example:...
Thank you for this nice peace of software! I tried to get a row from a table by indexing it, this resulted in a null: var settingsTable= tml["Einstellungen"].AsTable; var tableRow=...
I had to make my own function, but it looks like there is no way to make coppies.
Considering a toml file like this that is valid: ``` toml [package] authors = [ "me", "I", "myself" ] name = "proj" version = "0.0.1" [profile.debug] sanitizer = true coverage...
using(StreamReader reader = File.OpenText("configuration.toml")) { TomlTable table = TOML.Parse(reader); foreach(TomlNode node in table["database"]["ports"]) Console.WriteLine(node); } There is a problem, CS0121: The call is ambiguous between the following methods or properties:...