{"id":2839,"date":"2009-11-11T09:29:42","date_gmt":"2009-11-11T15:29:42","guid":{"rendered":"http:\/\/bobbeaty.com\/wp\/?p=2839"},"modified":"2009-11-11T09:29:44","modified_gmt":"2009-11-11T15:29:44","slug":"json-is-faster-than-xml-this-is-no-surprise","status":"publish","type":"post","link":"https:\/\/bobbeaty.com\/wp\/archives\/2839","title":{"rendered":"JSON is Faster than XML &#8211; This is No Surprise"},"content":{"rendered":"<p>I was reading the wires today and came across <em>another<\/em> article talking about the speed advantage of JSON over XML in the serialization\/transfer\/de-serialization. Certainly, that's no surprise to <strong>anyone<\/strong> that's used both of these formats. XML, as it's defined is just not meant to move large amounts of data, and while it's possible to use it for config files, I think it's still a <em>miss<\/em> there as plists or SQLite is a far better solution.<\/p>\n<p>But what got my interest this morning is the existence of a Google Groups project called <a href=\"http:\/\/code.google.com\/p\/touchcode\/\">touchcode<\/a>. In this one project, there is a sub-project called <a href=\"http:\/\/code.google.com\/p\/touchcode\/wiki\/TouchJSON\">TouchJSON<\/a> that implements the JSON format in Obj-C code. <strong>This<\/strong> is cool stuff.<\/p>\n<p>I've done plenty of JSON stuff in Java for the Google Visualization API, but this means that I don't have to mess around with writing an API for all the work on the Mac I might like to use JSON. Again, I can't see it as a valid tool for config files, but for serving up JSON data, this, along with a nice embedded HTTP server in Obj-C would be a great pairing. That way, I could stay in Obj-C and provide JSON data to AJAX clients. Neat.<\/p>\n<p>Not sure why WebObjects got the can, but it did. Sure would be nice to see what (if anything) Apple is looking at for a possible replacement.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was reading the wires today and came across another article talking about the speed advantage of JSON over XML in the serialization\/transfer\/de-serialization. Certainly, that&#8217;s no surprise to anyone that&#8217;s used both of these formats. XML, as it&#8217;s defined is just not meant to move large amounts of data, and while it&#8217;s possible to use [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,7,4],"tags":[],"class_list":["post-2839","post","type-post","status-publish","format-standard","hentry","category-coding","category-everything-else","category-open-source-software"],"_links":{"self":[{"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/posts\/2839","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/comments?post=2839"}],"version-history":[{"count":1,"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/posts\/2839\/revisions"}],"predecessor-version":[{"id":2840,"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/posts\/2839\/revisions\/2840"}],"wp:attachment":[{"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/media?parent=2839"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/categories?post=2839"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/tags?post=2839"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}