a509ddeb24
This improves output speed significantly, especially if the write callback is expensive (e.g. issues a syscall or takes a lock). On my test system, jsoncat citylots.json > /dev/null improves from ~2.8s to ~1.7s. citylots.json: https://github.com/zemirco/sf-city-lots-json (~181 MiB) Change-Id: I7d411ce92366712ed87ad5fc6e9b64828541db4d Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>