Hi Nate. You can use either XML or JSON in your Chrome extension, it's up to you.
JavaScript recently introduced a native JSON object (in 1.7 I think) to convert between strings of JSON and JavaScript objects without resorting to an external library. Because of this, and because JSON is JavaScript, JSON is a **lot** easier to work with than XML. Incidentally, if you want to convert from XML to JSON, this is a neat lib: http://www.terracoder.com/index.php/xml-objectifier/xml-objectifier-introduction. The only place you must use JSON is in the manifest.json file. Cheers - rich On Dec 24, 7:25 am, "Nate W." <nathanw...@gmail.com> wrote: > I suppose this is more of a general scripting/programming question > than anything, but its applications with Chrome are unclear to me. > > Unless I am mistaken, Chrome extensions utilise JSON within its > JavaScript code for asynchronous client server communication as > opposed to XML. I have been told that the choice between XML and JSON > is a matter of which one best fits the data model. Perhaps somebody > could expand on that so I can be better educated on the matter. Thanks > very much! -- You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to chromium-extensi...@googlegroups.com. To unsubscribe from this group, send email to chromium-extensions+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en.