Any particular advantage to using json over xml with Flash -


What's right?

I have read everything from, it seems that the answer is no, but was thinking that someone has a different opinion.

JSON is usually a more efficient data encoding method than XML. It matters in your case with the download time.

Another idea is whether the E4X query syntax can have attractive advantages for your particular use, that you can do it as you wish by repeatedly on the results of a single query line, and the occasional action script code is long Time will be paused while interacting with JSON.

I will also consider whether this app is to communicate with the JavaScript code, such as the flash app lives in a browser and have to communicate with other things on the page. If so, I used to go with JSON because the browser is very hard to deal with JSON in JS (unlike the E4X with modern JS 1.8) JSON.


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -