What exactly does your XML schema represent? Is it just a form of stylized
markup, say b Bold, i Italicized? I'm pretty sure the for(x in y) loop will
maintain order of variables within a JSON string, reading off variables left
to right.
- jake
On 5/22/07, Sean Catchpole <[EMAIL PROTECTED]> wrote:
I really like json, and the ability to recognize arrays is great.
However, there is strength of xml in that order can be preserved. I
can not think of a way to implement this in json. Is it possible and I
am simply blind to the truth?
XML:
<p><b>Title</b><i>Subtitle</i><b>Author</b></p>
JSON:
{"p":{"b":["Title","Author"],"i":"Subtitle"}}
~Sean