30 Nov
2019
30 Nov
'19
4:24 p.m.
Bjorn Reese wrote:
And just confirm his "mark my works" comment, this is how simple it is to create a push parser with a pull parser:
https://github.com/breese/trial.protocol/blob/develop/example/json/push_pars...
One immediate observation: the on_string() callback requires the parser to buffer the entire string. Vinnie's parser serves the string in parts which avoids the needs to buffer.