3 ms·
> less prone to bugs Citation needed. With XML validation, auto-generated type-safe serialization, and decades of battle testing, I feel like XML would be less
by cosmotic 3y ago
> less prone to bugs
Citation needed. With XML validation, auto-generated type-safe serialization, and decades of battle testing, I feel like XML would be less buggy than JSON.
- srgpqt 3y agoOr so you would think, but malformed or invalid xml is so commonplace, that most good feed readers use very lax or forgiving xml parsers. I’ve never seen such issues with JSON in practice.
- captn3m0 3y agoXML feeds are often generated by templating, rather than actual XML serialisation. The official Jekyll Feed plugin has this: https://github.com/jekyll/jekyll-feed/blob/master/lib/jekyll-feed/feed.xml https://github.com/jekyll/jekyll-feed/blob/master/lib/jekyll... JSON is much more easily generated by a valid generator, and less likely to face serialisation issues.