Ecto.Type.embedded_load
You're seeing just the function
embedded_load
, go back to Ecto.Type module for more information.
Loads the value
for type
considering it was embedded in format
.
Examples
iex> Ecto.Type.embedded_load(:decimal, "1", :json)
{:ok, Decimal.new("1")}