Thanks. I’m working on a *vastly more complex* framework which does true round trip lossless XML/JSON transformations into XML & JSON based on schema and annotations which is closer to what authors want (and queryable).
This “baby schema” is intended as a transient format only. But it relieves one from worrying about the serialization format of JSON and lets one work in the JSON data model directly with XML tools. A small, almost insignificant tool, yet vastly powerful. I hope to be publishing the larger work later this year. ---------------------------------------- David A. Lee Senior Principal Software Engineer Epocrates, Inc. [email protected] 812-482-5224 From: [email protected] [mailto:[email protected]] On Behalf Of Nuno Job Sent: Thursday, February 03, 2011 10:16 AM To: General MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] #Announce published JXML schema, an XML schema for representing the JSON data model This might interest you: https://www.ibm.com/developerworks/xml/library/x-db2JSONpt1/ By the way this kind of format is almost impossible to query. Nuno On Thu, Feb 3, 2011 at 8:34 AM, Keith L. Breinholt <[email protected]> wrote: You’ve been a busy boy. Nice work. - Keith From: [email protected] [mailto:[email protected]] On Behalf Of Lee, David Sent: Thursday, February 03, 2011 7:09 AM To: [email protected] Subject: [MarkLogic Dev General] #Announce published JXML schema, an XML schema for representing the JSON data model I’ve had this working for a while but finally got around to publishing the specs. http://xml.calldei.com/JsonXML This is currently implemented in the xml2json and json2xml commands in xmlsh (http://www.xmlsh.org) The goal of this schema is a direct mapping in XML to the JSON data model, NOT a “nice XML transformation of JSON”. ( I’m working on that separately which I hope to publish later this year). I have been using this in combination with the MarkLogic extension module for xmlsh to store JSON data natively in MarkLogic in a queryable form. ---------------------------------------- David A. Lee Senior Principal Software Engineer Epocrates, Inc. [email protected] 812-482-5224 NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
