msgpack-erlang
msgpack-erlang copied to clipboard
Elixir/Erlang nil/null problem
Having some problems with elixir/erlang null/nil coding/decoding. Jiffy has wonderful option use_nil, which does following:
jiffy:encode(#{a => nil}, [use_nil]).
<<"{\"a\":null}">>
Why not use same approach in msgpack? Having similar option that handles nil/null as one entity. Changes in code are minimal.
https://github.com/msgpack/msgpack-erlang/pull/83
Thanks @grepz , this issue has been fixed as of 0.8.1.