-
-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Hey there,
Thanks for your awesome Toml parser.
Is there a way to retrieve the line in which a toml element is located? For example, how can I find out the list
line?
var toml = @"global = ""this is a string""
# This is a comment of a table
[my_table]
key = 1 # Comment a key
value = true
list = [4, 5, 6]
";
// Converts the TOML string to a `TomlTable`
var model = Toml.ToModel(toml);
// Prints "this is a string"
Console.WriteLine(model["global"]);
Is it possible to retrieve a line from a tomlArray...etc?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested