Joined June 2013
·

Estevão Mascarenhas

product developer at brainn.co
·
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
12,899 Total ProTip Views