[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Potential Risks of Migration from XML to JSON
)Hi, > What criteria one must take into account before making a decision to pursue > such overhaul? Rather than a complete list, I would just ask whether you want to rely on Schema validation. A major drawback of JSON is IMHO that namespaces are not supported. Is "author" always the same? Does every company understand the same under "author"? Or "money"? Or "price"? Why do you care for the data format? Isn't it just negotiated on the wire? Don't you work internally with Java objects, C# objects, ... - The separation of the format on the wire and the format a client processes was the idea of WSDL binding: If an in memory call is made, the Java objects are not converted to XML and back, but directly sent to the receiving method (see http://ws.apache.org/wsif/ for a basic implementation - unfortunately not updated any more) Further, there is a difference between XML infoset and XML. XML is just one serialization of XML. CSV and JSON are other serialization formats (see https://en.wikipedia.org/wiki/XML_Information_Set#Serialization). I am aware that the tooling of serialization XML infoset as other formats than XML is not that production ready than other XML tooling. Side node: MSON (https://github.com/apiaryio/mson also seems not to support namespaces. Hope, this is some useful input. Cheers, Oliver
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|