|Don't ask to ask, just ask|
Re^3: Outputting JSON with sorted names/keysby LanX (Cardinal)
|on Jan 26, 2020 at 19:17 UTC||Need Help??|
> BTW: I think the name "object" is an unfortunate choice, because it is no object in the sense of object-oriented programming.
It is correct in JS, they don't have plain hashes, you have to (ab)use objects.
In other words you have to take care not to inherit keys. 🙄
NB: OOP is classless in JS
> https://www.json.org/ is quite clear:
Well what I remember were two contradictory RFC's but I can't find the discussion anymore.
Please keep in mind that like with utf8 definitions changed over time from more relaxed to more strict.
This leaves some early adopters like Perl sometimes in a limbo of backwards compatibility.