Y
Hacker News
new
|
ask
|
show
|
jobs
by
pkstn
1284 days ago
Use gzip for compressing. If you want to stream, use following syntax:
[\n
{ ... },\n { ... },\n { ... },\n ...\n
]\n
With this simple trick you can stream easily..
1 comments
pkstn
1284 days ago
in client-side you can parse bunch of items by just wrapping with [ and ]
link
pkstn
1284 days ago
and well, there's also BSON:
https://github.com/mongodb/js-bson
link