poison
poison copied to clipboard
Poison does not encode tuples, no mention in docs
Using v3.1, tuples do not encode:
iex(1)> Poison.encode({1, 2})
{:error, {:invalid, {1, 2}}}
I think encoding to an array would be more robust. If that is a no-go, documenting the inability to encode tuples would be an improvement.
Looks like this is applicable to version 4.1 too, any workarounds for this?