No arrays are not allowed. Attributes can only be strings. But the children are kind of an array.
Previously SecretPancake on Feddit
No arrays are not allowed. Attributes can only be strings. But the children are kind of an array.
There is actually an extension to JSON: https://json5.org/
Unfortunately only very few tools support that.
Since XML can have attributes and children, it’s not as easy to convert to JSON.
Your JSON example is more akin to:
<address street_address="21 2nd Street" city="New York" ...></address>
JSON not supporting comments is a human rights violation
Blaming others for things going wrong doesn’t require thinking and being self reflecting.
The one where the door fell off? Yeah that’s not very typical, I’d like to make that point.
I hated every second of it and it’s ugly as hell. Factorio is king.
(Trolling because Op is so super sensitive about it)