From: Peter Dimov (pdimov_at_[hidden])
Date: 2019-11-30 16:24:49


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_parser/push_parser.hpp

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.