Re: JSON in OTP

Michał Muskała <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <CAGAFNpmsW6r2Nmb5U+HpZEbG-Rzatu+qYJ6idegMe8FZCvgXDg@mail.gmail.com>
śr., 4 lis 2020 o 11:01 Max Lapshin <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.