How to get struct from map - elixir?

Well that’s because handle_in receives a map with string keys.
voughtdq came up with Poison.decode .. as a nice solution (map to struct).
Using Poison.decode eliminates the need for boilerplate code in the struct definition, yay!
So that’s the only reason why I would want to use it.