← Prev in month ← Prev in thread

XML design for converting to and from JSON?

From
Costello, Roger L. <>
To
"" <>
Date
2014-12-15T16:44:10Z
ID
<>
Thread
XML design for converting to and from JSON?
Hi Folks,

The ability to easily convert XML-formatted data into JSON-formatted data and vice versa is a good thing, I think.

If you were setting out to design some XML with a design goal that the XML can be easily converted to JSON, how would you design the XML?

Are there some features of XML that might inhibit its easy conversion to JSON? What about these features:

	- Namespaces?
	- Mixed content?
	- Processing instructions?
	- Comments?
	- Attributes?
	- DOCTYPE declaration?
	- Entities?
	- Other things?

Perhaps you have already created guidelines for XML design to enable easy conversion to JSON? If so, would you share your guidelines please?

/Roger
← Prev in month ← Prev in thread