News for hackers. Stuff that matters.
Re:Use streaming JSON to reduce latency on mobile by zamalek on Monday February 19, 2018 @03:58PM (#16415686)
> it would be nice if they’d explain why.

Just to fill in the picture here: it's because the built-in parser has a very good chance of being faster than anything you could write[1]. In addition, it's code that you don't own and don't have to maintain.

[1]: with exception to https://news.ycombinator.com/item?id=16413917

Re:Use streaming JSON to reduce latency on mobile by mikeash on Monday February 19, 2018 @04:23PM (#16415856)
You’d use an existing streaming parser, not write your own.
Re:Use streaming JSON to reduce latency on mobile by aaronblohowiak on Monday February 19, 2018 @05:38PM (#16416324)
support for un-marshaling json into objects in a streaming way is spotty / inconvenient. it should be easier than it is.