Douglas Crockford ha scritto:
Thank you Douglas. I hope to find a solution to implement a Javascript
converter from XML to JSON.
(Pay attention to page examples on json.org because there are errors)
Max
That may be true if the text you are dealing with is primarily document.
If it is primarily data, then preservation of document structure will
add a lot of inefficiency to the JSON data structure. A problem in much
XML practice is that it is sometime difficult to understand the difference.
>
There are a number of transformations possible between JSON and XML. See
for example org.json.XML and org.json.JSONML at www.json.org/java
If it is primarily data, then preservation of document structure will
add a lot of inefficiency to the JSON data structure. A problem in much
XML practice is that it is sometime difficult to understand the difference.
>
There are a number of transformations possible between JSON and XML. See
for example org.json.XML and org.json.JSONML at www.json.org/java
converter from XML to JSON.
(Pay attention to page examples on json.org because there are errors)
Max
Comment