:erlang.term_to_binary and :erlang.binary_to_term.
*José Valim* www.plataformatec.com.br Skype: jv.ptec Founder and Director of R&D On Tue, Jun 21, 2016 at 5:02 PM, <[email protected]> wrote: > Hello, > > I have a nested struct that contains "plain" values as well as Ecto models > that I need serialized to the database. Is there any solution available out > of the box, similar to Ruby's YAML::dump? > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "elixir-lang-talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elixir-lang-talk/0e1cdd21-6557-42f4-8ec6-88b7f3a2c1af%40googlegroups.com > <https://groups.google.com/d/msgid/elixir-lang-talk/0e1cdd21-6557-42f4-8ec6-88b7f3a2c1af%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/CAGnRm4J9JOD-6Lq%2BRsWVf2yt_HTkgqDJmCwSkxrXocQcMJCHtw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
