Loading ...
Sorry, an error occurred while loading the content.

Please explain Json encode

Expand Messages
  • zaqi
    { hello : bson } x15 x00 x00 x00 x02 h e l l o x00 x05 x00 x00 x00 b s o n x00 x00 I already read from this link :
    Message 1 of 2 , Dec 11, 2011
    • 0 Attachment
      {"hello":"bson"}
      \x15 \x00 \x00 \x00 \x02 h e l l o \x00 \x05 \x00 \x00 \x00 b s o n \x00 \x00

      I already read from this link : http://bsonspec.org/#/specification
      but stil confused.
      Can anyone explain what \x15 & why start \x15?
      what \x02 before "hello"?
      what \x05?
      thanks in advance
    • Tatu Saloranta
      Wrong mailing list -- you probably want to join http://groups.google.com/group/bson since this is related to BSON, not json. -+ Tatu +-
      Message 2 of 2 , Dec 11, 2011
      • 0 Attachment
        Wrong mailing list -- you probably want to join
        http://groups.google.com/group/bson since this is related to BSON, not
        json.

        -+ Tatu +-

        On Sun, Dec 11, 2011 at 8:13 PM, zaqi <slash_jak@...> wrote:
        >                        {"hello":"bson"}
        > \x15 \x00 \x00 \x00 \x02 h e l l o \x00 \x05 \x00 \x00 \x00 b s o n \x00 \x00
        >
        > I already read from this link : http://bsonspec.org/#/specification
        > but stil confused.
        > Can anyone explain what \x15 & why start \x15?
        > what \x02 before "hello"?
        > what \x05?
        > thanks in advance
        >
        >
        >
        >
        > ------------------------------------
        >
        > Yahoo! Groups Links
        >
        >
        >
      Your message has been successfully submitted and would be delivered to recipients shortly.