Tomlex.Parser
Parses a list of tokenized TOML lines into the corresponding map.
Summary
parse(lines) | Parses a list of tokenized TOML lines into the corresponding map |
Functions
Specs:
Parses a list of tokenized TOML lines into the corresponding map.
Examples
iex> Tomlex.Parser.parse([%Tomlex.LineTypes.Integer{key: "key", value: "23"}])
%{key: 23}
iex> Tomlex.Parser.parse([%Tomlex.LineTypes.Table{keys: [:x, :y, :z]}])
%{x: %{y: %{z: %{}}}}