Joined June 2013
·
C33f5ce483932bffd2ea5b9e29d55dcc

Estevão Mascarenhas

Ruby Developer at Akatus
Ruby Developer
Akatus
·
São Paulo, Brazil
·
·
·

Hi @rheckart what is the version are you using at?

When I wrote this article a lot of libraries wasn't on the 1.x version yet, maybe something changed. :/

@rosscdh thanks for your comment!

I put this in the file lib/myapp/encoder.ex file, note that I was using an Phoenix application, it does load files automatically.

If you're using it in a plain Elixir application, try to import the Poison.Encoder to your file and see if it works. Don't forget that you'll need to require this file in order to load this implementation for the encoder.

Let me know if you had success.

Achievements
140 Karma
8,213 Total ProTip Views