New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
json <-> erlang mapping (null is undefined) #18
Comments
i think there's a (subtle) difference between my main concern is that proplists use |
In fact, In erlang records |
right, but proplists are relevant because they are the default representation of jaon objects when decoded. if json null is mapped to erlang undefined, the proplists module can no longer distinguish between "{"key": null}" and "{}". while this is probably harmless, it does concern me |
I'm sure, this is not only harmless but even useful. |
null is not undefined. So do not. |
I am glad to agree, but where are the arguments? My arguments were higher, and they are based on the fact that in erlang no |
As I discovered, some erlang applications really use atom null, although I still believe it is wrong, the issue no longer seems so simple. |
Displaying json
null
as an atomnull
in erlang incorrectly, in Erlangnull
is atomundefined
The text was updated successfully, but these errors were encountered: