JSON was a really bad choice for the data interchange format for multiple reasons imo but it’s likely too late now…
I have been pointed at:
https://github.com/nostr-protocol/nips/issues/225#issuecomment-1419008389
which explains the reasoning. I can actually accept that it prevents hashing ambiguities of objects which is something I have had to deal with in other contexts.
JSON was a really bad choice for the data interchange format for multiple reasons imo but it’s likely too late now…