javascript-serialization-benchmark
javascript-serialization-benchmark copied to clipboard
BSON vs. JSON
trafficstars
Hi Mattias, I have a question that you could answer best. My web API has been serving binary data (BSON) to a native client. This approach seems efficient since the web API receives the BSON from MongoDB, and forwards it to the client in pure binary form. But now we're adding a web client and, apparently, BSON is less efficient than JSON in the browser. Do you recommend switching the web API over to serving JSON?