Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Well, you could have a JSON which was valid at the start and invalid at the end. It'd parse the first bit ok and only throw an error when it got to the invalid bit.

Nothing gets parsed more than once. SAX parsers already parse streams, they're just not used very much because they're a pain to program with.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: