Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: dfwgator
XML and JSON should be grouped together.

The article combined Javascript and JSON, but they aren't really the same. Javascript is the programming, JSON is the data.

JSON is JavaScript Object Notation, a data representation language that is much less complex than XML. Developers are migrating to it because it doesn't take as many resources to parse a JSON object, compared to XML. If you are dealing with millions of messages, you can save a lot of CPU time with JSON.

You can easily convert JSON to XML, but not necessarily the other way around. But even when they represent the same data, they are just two ways to express it.

44 posted on 09/04/2013 1:53:06 PM PDT by justlurking (tagline removed, as demanded by Admin Moderator)
[ Post Reply | Private Reply | To 10 | View Replies ]


To: justlurking

Save CPU time? Bwahahaha! Today’s twerps don’t care about resources. They write code that eats memory, bandwidth, and disk space like it’s free.


81 posted on 09/05/2013 7:16:39 AM PDT by BuckeyeTexan (There are those that break and bend. I'm the other kind. ~Steve Earle)
[ Post Reply | Private Reply | To 44 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson