Re: A standard for XML - JSON mapping.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2016-02-01 11:04, Carsten Bormann wrote:
<https://www-01.ibm.com/support/knowledgecenter/SS9H2Y_7.1.0/com.ibm.dp.doc/json_jsonx.html>?

This is for the transport of JSON data in XML documents, not for
converting XML data into a JSON representation.

Ack. Good point.

JSON -> JSONx:

{ "Ticker" : "IBM" }
->
<json:object>
   <json:string name="Ticker">IBM</json:string>
</json:object>

(In any case, I'm wondering if you are citing this because you think we
should be using it or just as a vivid demonstration of how futile these
efforts are...)

I'm not sure about the futile part; AFAIU, there are valid use cases for the above.

But XML->JSON of course is much more complex; if a generic transformation is needed the result will be extremely ugly.

Best regards, Julian




[Index of Archives]     [IETF Annoucements]     [IETF]     [IP Storage]     [Yosemite News]     [Linux SCTP]     [Linux Newbies]     [Fedora Users]