Remix.run Logo
minraws 3 days ago

you can just add schema to json why add new syntax now, especially for json I dont think it makes sense I honestly believe the war is over there won't be a xml to json moment unless we move to a new platform other than browsers which seem rather unlikely, json honestly is fine for something that's somewhat human readable...

kelseydh 3 days ago | parent [-]

A change in the direction of protobufs to reduce serialization and transfer costs of data exchange seems most likely the next trend.

Diti a day ago | parent [-]

This has been a solved problem for at least two decades. Use ASN.1 and choose your encoding rules accordingly: JER when you need JSON, XER when you need XML, and switch to BER/DER when you need to reduce transfer costs.