If your XML has namespaces (like YouTube's xml feeds), then, yes, JSON is easier to implement.

Namespace support in E4X is the very definition of "Royal Pain In The Arse".

It's why the AS3 code lib for YouTube uses their JSON feed instead. It's just too ridiculous to deal with all those namespaces.

However, without namespaces, E4X is far more powerful than JSON, IMO.





On May 20, 2009, at 11:42 AM, Gregory Boland wrote:

Dear list,

I am looking into using JSON to bring data into Flash as opposed to XML and I wondering what other people's experiences have been with it. People tell
me that its much easier to use than xml and easier to implement.

Does anyone know of a good place to see some AS3 code that uses JSON so i
can see how it works?

thanks

greg
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to