Otter@lemmy.ca to Programming@programming.devEnglish · edit-22 months agoWhen Your Last Name Is Null, Nothing Workswww.wsj.comexternal-linkmessage-square36fedilinkarrow-up199arrow-down13file-text
arrow-up196arrow-down1external-linkWhen Your Last Name Is Null, Nothing Workswww.wsj.comOtter@lemmy.ca to Programming@programming.devEnglish · edit-22 months agomessage-square36fedilinkfile-text
minus-squareFonzie!@ttrpg.networklinkfedilinkarrow-up1·2 months 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 months 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·2 months 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