tomlex v0.0.5 Tomlex.TableArrayBuilder

Builds an array of tables structure after it has gone through a parsing step

Summary

Functions

Builds an array of tables from a previous result, keys and the values to add

Functions

build(result, list, used_keys, inner_values)
build(Map.t, List.t, List.t, Map.t) :: Map.t

Builds an array of tables from a previous result, keys and the values to add.

Examples

iex> Tomlex.TableArrayBuilder.build(%{x: [%{z: 2}]}, [:x], [], %{y: 1})
%{ x: [ %{ z: 2 }, %{ y: 1 } ] }