JSON in OTP
Wed Nov 4 16:37:45 CET 2020
Yes, I was not correct about order.
Better say: there are popular implementations that assume some hidden
key order in parsed objects.
On Wed, Nov 4, 2020 at 2:07 PM Michał Muskała <michal@REDACTED> wrote:
> ś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  and ECMA
> 404 ) define fields as unordered and leave conflicts as
> implementation detail.
> : https://tools.ietf.org/html/rfc8259
> : http://www.ecma-international.org/publications/standards/Ecma-404.htm
More information about the erlang-questions