-
-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Labels
PR welcomeUser contribution/PR is welcomeUser contribution/PR is welcomebugSomething isn't workingSomething isn't working
Description
The following TOML file:
[[table_array]]
primitive_list = [4, 5, 6]
When run through the functions Toml.ToModel & Toml.FromModel as follows:
var toml = "[[table_array]]\nprimitive_list = [4, 5, 6]";
var model = Toml.ToModel(toml);
var tomlOut = Toml.FromModel(model);
Results in the following output:
table_array = [{primitive_list = [4, 5, 6]}]
I believe this may be a bug, as it appears that the serialization code otherwise prefers to use the non-inline style wherever possible.
instilledbee
Metadata
Metadata
Assignees
Labels
PR welcomeUser contribution/PR is welcomeUser contribution/PR is welcomebugSomething isn't workingSomething isn't working