Packages

A collection of helpers to operate on nested maps. See README for the complete list of helpers. The test suite is also helpful.

Current section

Files

Jump to
digger lib impl stringifier list.ex
Raw

lib/impl/stringifier/list.ex

defimpl Digger.Stringifier, for: List do
alias Digger.Stringifier
alias Digger.Opts.Stringifier, as: Opts
def stringify([], _), do: []
def stringify(
[h | t],
opts
) do
opts = Opts.set_options(opts)
[Stringifier.stringify(h, opts)] ++ Stringifier.stringify(t, opts)
end
end