<html style="direction: ltr;">
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <style>body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
  </head>
  <body style="direction: ltr;"
    bidimailui-detected-decoding-type="latin-charset" bgcolor="#FFFFFF"
    text="#000000">
    <p>It's worth mentioning that BSON is *not* simply a binary format
      for JSON. They are not mutually translatable, because BSON
      supports many types beyond those available in JSON (including one
      or two that are MongoDB-specific). There is an "extended JSON"
      notation (using things like $regex, $date, etc.) that can allow a
      certain degree of translatability (depending on the transmitter
      and receiver capabilities), but it has not been formalized.</p>
    <p>One problem is that JavaScript does not have numeric types other
      than double. If you are transmitting Python to Python, there is no
      problem in maintaining precision. But, say, Python to JavaScript
      (on the browser) can fail.</p>
    <p>For my own implementation of the extended JSON notation I
      introduced a "$long" notation type, that carries a string,
      specifically to maintain precision even if JavaScript is doing the
      marshalling. It's available here:</p>
    <p><a class="moz-txt-link-freetext" href="http://code.google.com/p/mongodb-rhino/">http://code.google.com/p/mongodb-rhino/</a><br>
    </p>
    <p>-Tal</p>
    On 08/25/2011 10:50 PM, Brian Herman wrote:
    <blockquote
cite="mid:CAJD01wqKuf+aE2kM-Bs=kkxOp2Yuni33kkSr4Gkug5RCa0r3dA@mail.gmail.com"
      type="cite">In my opinion making a object&nbsp;serialization&nbsp;that
      sounds like startrek seems like a great idea given all the trekies
      that are programmers.
      <div>I mean people that use BSAHN probably love the fact it sounds
        like an alien race on Star Trek.</div>
      <div><br>
      </div>
      <div>I am also really interested on how this ties into mongodb.<br>
        <br>
        <div class="gmail_quote">On Thu, Aug 25, 2011 at 9:22 AM, Jough
          Dempsey <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:jough.dempsey@gmail.com">jough.dempsey@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex;">I'd be
            interested in it, although I think they really missed an<br>
            opportunity by not calling it "BiSON" which would be easier
            to<br>
            pronounce. &nbsp;B-SAHN sounds like an alien race on Star Trek
            (one of the<br>
            later, crappier semries, not TOS or TNG).<br>
            <div>
              <div class="h5"><br>
                On Thu, Aug 25, 2011 at 9:07 AM, Joshua Herman &lt;<a
                  moz-do-not-send="true"
                  href="mailto:zitterbewegung@gmail.com">zitterbewegung@gmail.com</a>&gt;
                wrote:<br>
                &gt; Yea I would probably have a small part of what BSON
                is and then how to use it.<br>
                &gt;<br>
                &gt;<br>
                &gt; ---Profile:---<br>
                &gt; <a moz-do-not-send="true"
                  href="http://www.google.com/profiles/zitterbewegung"
                  target="_blank">http://www.google.com/profiles/zitterbewegung</a><br>
                &gt;<br>
                &gt;<br>
                &gt;<br>
                &gt;<br>
                &gt;<br>
                &gt; On Thu, Aug 25, 2011 at 8:47 AM, Brian Curtin &lt;<a
                  moz-do-not-send="true"
                  href="mailto:brian.curtin@gmail.com">brian.curtin@gmail.com</a>&gt;
                wrote:<br>
                &gt;&gt; On Wed, Aug 24, 2011 at 11:25, Joshua Herman
                &lt;<a moz-do-not-send="true"
                  href="mailto:zitterbewegung@gmail.com">zitterbewegung@gmail.com</a>&gt;<br>
                &gt;&gt; wrote:<br>
                &gt;&gt;&gt;<br>
                &gt;&gt;&gt; Would anyone be interested in a talk about
                this ? <a moz-do-not-send="true"
                  href="http://bsonspec.org/" target="_blank">http://bsonspec.org/</a><br>
                &gt;&gt;&gt; Its a binary version of JSON. The
                advantages are fast scanability and<br>
                &gt;&gt;&gt; easy C representation. It is also
                schemaless<br>
                &gt;&gt;<br>
                &gt;&gt; If the talk is about implementation and
                whatnot, mostly involving Python,<br>
                &gt;&gt; I'd say yes. If it's about how to import it and
                how to call the documented<br>
                &gt;&gt; functions of the API, I'll be that guy and say
                -1.<br>
                &gt;&gt; _______________________________________________<br>
                &gt;&gt; Chicago mailing list<br>
                &gt;&gt; <a moz-do-not-send="true"
                  href="mailto:Chicago@python.org">Chicago@python.org</a><br>
                &gt;&gt; <a moz-do-not-send="true"
                  href="http://mail.python.org/mailman/listinfo/chicago"
                  target="_blank">http://mail.python.org/mailman/listinfo/chicago</a><br>
                &gt;&gt;<br>
                &gt;&gt;<br>
                &gt; _______________________________________________<br>
                &gt; Chicago mailing list<br>
                &gt; <a moz-do-not-send="true"
                  href="mailto:Chicago@python.org">Chicago@python.org</a><br>
                &gt; <a moz-do-not-send="true"
                  href="http://mail.python.org/mailman/listinfo/chicago"
                  target="_blank">http://mail.python.org/mailman/listinfo/chicago</a><br>
                &gt;<br>
                <br>
                <br>
                <br>
              </div>
            </div>
            <font color="#888888">--<br>
              Jough Dempsey<br>
              <a moz-do-not-send="true" href="http://jough.com"
                target="_blank">http://jough.com</a><br>
              <a moz-do-not-send="true" href="tel:312.576.6738"
                value="+13125766738">312.576.6738</a>&nbsp;(mobile)<br>
            </font>
            <div>
              <div class="h5">_______________________________________________<br>
                Chicago mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:Chicago@python.org">Chicago@python.org</a><br>
                <a moz-do-not-send="true"
                  href="http://mail.python.org/mailman/listinfo/chicago"
                  target="_blank">http://mail.python.org/mailman/listinfo/chicago</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        Thanks,<br>
        Brian Herman<br>
        <br>
        <a moz-do-not-send="true" href="http://brianjherman.com"
          style="color:rgb(153, 153, 153)" target="_blank">brianjherman.com</a><br>
        <font color="#999999">Research Assistant</font><br>
        <font color="#999999">University Of Illinois at Chicago</font><br>
        <a moz-do-not-send="true" href="mailto:brianherman@acm.org"
          style="color:rgb(153, 153, 153)" target="_blank">brianherman@acm.org</a><br>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Chicago mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Chicago@python.org">Chicago@python.org</a>
<a class="moz-txt-link-freetext" href="http://mail.python.org/mailman/listinfo/chicago">http://mail.python.org/mailman/listinfo/chicago</a>
</pre>
    </blockquote>
  </body>
</html>