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

179Re: Comments

Expand Messages
  • Douglas Crockford
    Jan 3, 2006
      > Huh? If I'm writing an encoder that takes a Java data structure and
      > it into JSON, it would make perfect sense to me to generate comments (in
      > development mode) that tell me what Java structure was being
      encoded. So,
      > for example, I might output "/* java.util.HashMap */" in my JSON
      > before I render the corresponding JSON object.

      Why would you do that? What expectation do you have of the receiver?
      Why waste the bandwidth? What, specifically, is the value?
    • Show all 42 messages in this topic