Apoc
Well-Known Member
- Joined
- Jan 16, 2010
- Messages
- 2,790
- Reaction score
- 94
As bft3912 pointed out; JSON is a double-edged sword. If all you're doing is representing raw data, JSON *may* be more useful. (Also; you specifically included the CDATA stuff to make it seem more complicated than it actually is. Nothing in HB's profile structure requires you to use CDATA)
JSON is not a great idea to use if you're trying to represent a logical flow of actions, as it becomes incredibly difficult to work with, the more complex the "logic" gets. While XML doesn't suffer from that sort of drawback (assuming the XML schema isn't completely ass backwards)
Also, from a programming point of view (.NET programming), XML has far superior support to JSON in client applications. (We're not building a web application, so javascript won't see much use unless we completely abuse it.)
JSON is not a great idea to use if you're trying to represent a logical flow of actions, as it becomes incredibly difficult to work with, the more complex the "logic" gets. While XML doesn't suffer from that sort of drawback (assuming the XML schema isn't completely ass backwards)
Also, from a programming point of view (.NET programming), XML has far superior support to JSON in client applications. (We're not building a web application, so javascript won't see much use unless we completely abuse it.)