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

Re: JSON and YAML

Expand Messages
  • Douglas Crockford
    ... Yes. The problem is that they allow comma as a thousands separator, so [1,999] produces a different result than [1, 999].
    Message 1 of 4 , Jan 17, 2006
    • 0 Attachment
      > > YAML has two productions
      > > in which spaces are significant where in JSON they are not.
      > > I hope they can resolve that soon.
      >
      > Thanks for clarifying this [1]. Just for completeness, could you
      > expand on which productions these are? The only one that I am aware of
      > at the moment is the colon space in hashes. What's the other one?
      > Comma space between each value of a sequential list or dictionary?

      Yes. The problem is that they allow comma as a thousands separator, so
      [1,999] produces a different result than [1, 999].
    Your message has been successfully submitted and would be delivered to recipients shortly.