On Fri, Mar 1, 2013 at 9:04 AM, Petr Bena benapetr@gmail.com wrote:
The problem is that while XML is widely accepted standard supported on all platforms and languages, JSON, even if it might be better, is not so well supported in this moment. For this reason I think it would be cool to be able to offer multiple outputs.
JSON is *very* widely supported in almost every language. It would definitely not be a problem if we only supported JSON. Furthermore, JSON represents data using only native types, all of which are existent in PHP. In other words, a PHP/C++/etc. variable can be directly serialized into JSON, whereas in XML this is very much not the case due to attributes and the ability to have child elements of different types, making it much more difficult to implement.
*--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerromeo@gmail.com