JSON in OTP

Michał Muskała michal@REDACTED
Wed Nov 4 12:07:22 CET 2020


śr., 4 lis 2020 o 11:01 Max Lapshin <max.lapshin@REDACTED> napisał(a):
>
> First simple question:  how to decode json objects into maps if json
> declares order and erlang maps are unordered?

This is not accurate. Both JSON specifications (RFC 8259 [1] and ECMA
404 [2]) define fields as unordered and leave conflicts as
implementation detail.

[1]: https://tools.ietf.org/html/rfc8259
[2]: http://www.ecma-international.org/publications/standards/Ecma-404.htm


More information about the erlang-questions mailing list