Otter@lemmy.ca to Programming@programming.devEnglish · edit-27 days agoWhen Your Last Name Is Null, Nothing Workswww.wsj.comexternal-linkmessage-square36fedilinkarrow-up195arrow-down13file-text
arrow-up192arrow-down1external-linkWhen Your Last Name Is Null, Nothing Workswww.wsj.comOtter@lemmy.ca to Programming@programming.devEnglish · edit-27 days agomessage-square36fedilinkfile-text
minus-squareFonzie!@ttrpg.networklinkfedilinkarrow-up1·5 hours agoXML can validate itself and there’s the self-documenting WSDL; so while it has more overhead and an ugly syntax it can make for a more stable and earlier to understand API for your API’s consumers.
minus-squarecalcopiritus@lemmy.worldlinkfedilinkarrow-up1·2 hours agoThis point is always stated about XML as if it were the most important part of choosing XML. But jsonschema exists. It has the same capability.
minus-squareFonzie!@ttrpg.networklinkfedilinkarrow-up1·1 hour agoAh but… Nobody uses that! Because then you wouldn’t choose JSON
XML can validate itself and there’s the self-documenting WSDL; so while it has more overhead and an ugly syntax it can make for a more stable and earlier to understand API for your API’s consumers.
This point is always stated about XML as if it were the most important part of choosing XML.
But jsonschema exists. It has the same capability.
Ah but… Nobody uses that! Because then you wouldn’t choose JSON