OtterA to Programming@programming.devEnglish · edit-21 month agoWhen Your Last Name Is Null, Nothing Workswww.wsj.comexternal-linkmessage-square36fedilinkarrow-up198arrow-down13file-text
arrow-up195arrow-down1external-linkWhen Your Last Name Is Null, Nothing Workswww.wsj.comOtterA to Programming@programming.devEnglish · edit-21 month agomessage-square36fedilinkfile-text
minus-squareFonzie!@ttrpg.networklinkfedilinkarrow-up1·1 month 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·1 month 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·30 days 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