>> JSON differs from BSON about as much XML differs from EXI.
Likely splitting hairs but I argue the difference is at least 10x more in the BSON vs JSON case ... BSON has distinct and vastly more datatypes from JSON, including many which cannot be represented in JSON at all. whereas EXI does not have distinct datatypes from XSD ... Every EXI document can be translated into a valid XML doc and reversed back to the same canonical document. NOT Every BSON doc can be translated into a valid JSON doc by a long shot, and if you try to reverse it you lose information .... both ways. Maybe not information you care about ... or maybe you do. A given JSON doc can be turned into any number of BSON representations (was that "x": 1 a 8 bit int, float , double ? ) and don't get me started on dates, blobs, or 55+ bit integers. But that's just details ... (the kind of details that typical users don't care about ... usually ... but people having to write software that interoperates between formats go bald over). ---------------------------------------- David A. Lee [email protected]<mailto:[email protected]> http://www.xmlsh.org
_______________________________________________ [email protected] http://x-query.com/mailman/listinfo/talk
