Hacker News new | ask | show | jobs
by _ZeD_ 4698 days ago
absolutely. This is nothing more than a clever trick, but I would never rely on it.

Honestly, tough, I think all major JSON parser behave following the two assumption.

1 comments

streaming parsers can't follow the assumption short of becoming useless. They're either going to send only the first instance or going to send two different events.