3 ms·
The legibility is probably one of the main reasons JSON got adopted. XML can be made to not look too bad, but in SOAP it must be unreadable, so everybody was lo
by marcosdumay 2y ago
The legibility is probably one of the main reasons JSON got adopted. XML can be made to not look too bad, but in SOAP it must be unreadable, so everybody was looking into fixing this.
- xmlmann 2y agoXML has a sweet advantage though. It can be styled in the browser. For example a sitemap that works for Google, OpenAI, &c. and is human readable looking like a web page. Example: https://www.wpbeginner.com/sitemap.xml https://www.wpbeginner.com/sitemap.xml
- immibis 2y agoThis is fun, but in reality, not all that useful. Except you can impress other nerds when they "view source" and there's not an HTML tag in sight.
- immibis 2y agoXML is a language designed for markup (i.e. text formatting), and fitting structured documents into it creates an impedance mismatch. Dictionary definitions may be considered as marked-up documents, so it may work. The overall structure of the dictionary is not.
- deleted 2y ago[deleted]