[erlang-questions] jiffy encoding

Mike Oxford moxford@REDACTED
Sat Jul 13 02:58:07 CEST 2013


>From the docs...
{[{foo, bar}]}             -> {"foo": "bar"} -> {[{<<"foo">>, <<"bar">>}]}

Why does jiffy need the extra "tuple list" syntax?
Anyone happen to know?

jiffy:encode({x,y}) fails.
jiffy:encode({[{x,y}]}) => "{\"x\":\"y\"}"



More information about the erlang-questions mailing list