News for hackers. Stuff that matters.
Re:Why is JSON so popular? Developers want out of the syntax... by arockwell on Friday March 19, 2010 @10:52AM (#1204249)
My gut feeling on this is that almost anyone can recognize that writing JSON like that is wrong. However, trying to determine if

  <person first-name="John" last-Name="Smith" />
is better than

  <person>
      <first-name>John</first-name>
      <last-name>Smith</last-name>
  </person>
is often very difficult. In the wild, I've seen both strategies used depending on the situation.
Re:Why is JSON so popular? Developers want out of the syntax... by yread on Friday March 19, 2010 @04:29PM (#1205179)
Actually it's very simple. If you don't need children don't make them. I measured it once and storing stuff in attributes had ~10 times faster parsing in MSXML.