3 ms·
Mongo’s BSON seems to work well in their space. Is that applicable at all here?
by cr125rider 3y ago
Mongo’s BSON seems to work well in their space. Is that applicable at all here?
- maxbond 3y agoIt's worth noting that BSON is not equivalent to JSON. All BSON objects are documents. JSON objects can be documents, lists, strings, numbers, null, or booleans. Eg, `null` is valid JSON, as is `"foo"`, but neither can be expressed in BSON. So if your criterion is 1:1 compatibility with JSON, BSON doesn't get you there. (BSON is awesome, though.)