You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thanks for all the contributors for this project.
Now let me bug you guys a little bit.
Does etoml supports parsing arrays of tables?
I have the following TOML:
# this is a toml file
id = "this_is_my_test"
directory = "test_scripts/"
results = "results/"
[[step]]
info = "foo"
[step.web]
script = "simuterm.js"
params = ["foo", "bar", "baz"]
[[step]]
info = "bar"
[step.web]
script = "cat.js"
params = ["can", "haz", "cheese"]
And I tried parsing it with etoml (I'm using it in a Elixir project) like:
iex> File.read!(~S(path/to/file)) |> :etoml.parse
and it gave me {:error, {:invalid_key, 9}}.
Well, 9 points to the first line of the toml where a array of tables is specified, so I'm guessing... parsing array of tables is not supported?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hello!
First of all, thanks for all the contributors for this project.
Now let me bug you guys a little bit.
Does etoml supports parsing arrays of tables?
I have the following TOML:
And I tried parsing it with etoml (I'm using it in a Elixir project) like:
and it gave me
{:error, {:invalid_key, 9}}
.Well, 9 points to the first line of the toml where a array of tables is specified, so I'm guessing... parsing array of tables is not supported?
Thanks in advance!
The text was updated successfully, but these errors were encountered: