Disclaimer: I\'ve checked the question here and it does not answer mine.
I am trying to come up with a way for nested struct parsing of JSONs. Example:
{
I believe the above is now possible with Poison:
defmodule User do @derive [Poison.Encoder] defstruct [:address] end defmodule Address do @derive [Poison.Encoder] defstruct [:street] end Poison.decode(response, as: %User{address: %Address{}})