News for hackers. Stuff that matters.
Re:Deprecating XML by JonnieCache on Wednesday November 17, 2010 @08:11PM (#1916425)
IMO the biggest advantage of JSON on the web is a simple one: fewer bytes on the wire.

EDIT: also the concise yet all-encompassing nature of its home at http://www.json.org

Re:Deprecating XML by kenjackson on Wednesday November 17, 2010 @08:39PM (#1916482)
Is this really true? It seems like they would be remarkably close in number of bytes on the wire, accept in cases where you generate really poor XML. In fact, in some basic examples I quickly looked at, I think XML actually puts fewer bytes on the wire.

I do have to agree with the author though. This feels like a really "meh" discussions.

Re:Deprecating XML by xiongchiamiov on Thursday November 18, 2010 @04:12AM (#1917283)
If the actual data is small compared to the tag names, then XML will be significantly larger.
Re:Deprecating XML by JonnieCache on Thursday November 18, 2010 @08:45AM (#1917698)
Also if the data scheme is very simple and only for consumption by the person who designed it, one can eschew tag names altogether and just have an array and rely of the order of elements to define meaning.