javascript-serialization-benchmark icon indicating copy to clipboard operation
javascript-serialization-benchmark copied to clipboard

BSON vs. JSON

Open HappyNomad opened this issue 5 years ago • 0 comments
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?

HappyNomad avatar Aug 21 '20 03:08 HappyNomad