Re:JSON Feed
by morgante on Wednesday May 17, 2017 @02:30PM
(#14361343)
Most XML parsers I've used are leaky abstractions. Even once the document is parsed, actually accessing the data can require a lot more complexity than accessing parsed JSON data.
[ Parent
| on HN ]
IIRC, the popular C++ implementations were glorified tokenizers. It was up to you to figure out which tokens were data and how those tokens related to each other.
Re:JSON Feed
by icebraining on Thursday May 18, 2017 @06:04AM
(#14366009)
Ah, SAX. People built some true horrors with that API, just because it was "more performant" than DOM. Never mind that their hacked-together tree builders often leaked like sieves.