[SERVER-473] Provide a mechanism for streaming JSON directly from the server Created: 10/Dec/09  Updated: 10/Dec/14  Resolved: 02/Apr/13

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor - P4
Reporter: Dan Simpson Assignee: Unassigned
Resolution: Won't Fix Votes: 3
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Currently it is only possible to fetch BSON data from the cursors, which deserializes the data into a ruby hash. Having the ability to stream JSON would simplify and increase performance for applications that do not require ruby objects for every use case.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 02/Apr/13 ]

the database thinks in bson, so serving bson is very fast.
if you want json, i think it makes more sense to do the conversion client side

Comment by Michael Dirolf [ 10/Dec/09 ]

As mathias suggested on IRC I think it probably makes more sense to have this as a server option on queries, so all clients get it for free w/o having to write new deserializers.

Moving this case to SERVER

Generated at Thu Feb 08 02:54:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.