3 ms·
> What is an "evented parser"? Also knowns as a “streaming parser”, its a parser that takes in a data stream and produces a stream of events which client code
by dragonwriter 5y ago
> What is an "evented parser"?
Also knowns as a “streaming parser”, its a parser that takes in a data stream and produces a stream of events which client code can handle; it allows more flexible handling than deserializers, including ability to handle arbitrarily large input. SAX is a streaming/evented parser API for XML, and there are similar ones for other formats.