Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Progressive JSON. Parent comment
If we imagine a streaming protocol of key/value pairs that are either snapshots or deltas:
event: snapshot data: {"topPost":[], "user": {"comments": []}} pending: topPosts,user.comments event: delta data: [17,{"comments":[{"body":"hello world"}]},"user"] pending: topPosts
There are no comments on this comment yet.
If we imagine a streaming protocol of key/value pairs that are either snapshots or deltas: