I\'m creating a sophisticated JavaScript library for working with my company\'s server side framework.
The server side framework encodes its data to a simple XML for
the difference in performace will be so tiny, you wouldn't even notice it (and: you shouldn't think about performance problems until you have performance problems - there are a lot of more important points to care for - maintainable, readable and documented code...).
but, to answer ayou question: JSON will be faster to parse (because it's simple javascript object notation).