devinus / poison

An incredibly fast, pure Elixir JSON library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Omit "empty" pairs from the generated JSON

LeakyBucket opened this issue · comments

Hi,

I've had a few situations recently where it was necessary/ideal to omit specific optional fields from some of my JSON. I've implemented a few "hacky" solutions in my code but thought maybe it is something that might be more generally useful.

If you are interested see #175

Thanks.