From: Adam R. <ad...@ex...> - 2012-09-06 21:06:06
|
I think JSONiq is interesting, but I think it meets different requirements. I was really looking for a XML <-> JSON mapping standard that could be agreed and implemented. Isnt JSONiq more of an XQuery and JSON query language mashup? On 6 September 2012 12:10, Joe Wicentowski <jo...@gm...> wrote: > +1 to a standards-oriented approach, Adam. JSONiq looks quite promising as > a comprehensive solution to the problem of needing to > access/query/manipulate JSON with XQuery: http://jsoniq.org/. I'd be > interested to hear what others think? > > Joe > > Sent from my iPhone > > On Thursday, September 6, 2012 at 6:13 AM, Adam Retter wrote: > > Casey, > > Of course I am happy to see contributions in code. But I think the > issue here is more one of methodology, for example, which mapping > standard did you use for JSON to XML? or did you develop your own one? > If you developed your own one how does this compare to others, does it > address shortcomings in the others? > > What I *really* would like to see if an XML <-> JSON Mapping that can > be adopted in modules by EXPath and EXQuery, so that we can have > portable code. For example i.e. if I serialize to/from JSON from any > XQuery on any platform I know that the JSON/XML I get will be the same > so that I dont have to rewite the client side javascript again ;-) > > > On 6 September 2012 01:58, Casey Jordan <cas...@jo...> wrote: > > I developed a JSON to XML module for eXist a few months ago. It's currently > not integrated into trunk because I have not had time yet. > > I will see if I can clean it up and commit it soon. > > > On Wed, Sep 5, 2012 at 7:56 PM, Palmer, Eric <ep...@ri...> wrote: > > > We the twitter decision we will also need something to convert json to > xml. > > We can live with it outside of exist since we use some middleware to > transform twitter already. But having and exist solution would be very > useful. > > Sent from my iPhone > > On Sep 5, 2012, at 7:37 PM, "Chris Wallace" <kit...@gm...> wrote: > > Adam Retter <adam <at> exist-db.org> writes: > > > Chris, > > What I would really like to see is a XML to JSON mapping and a JSON to > XML mapping defined and established. As I understand it at the moment > there are several different proposals out there. It would be great if > someone could look at whats available, choose the best and somehow say > 'this is it', maybe creating a W3C community group to maintain it or > better. > > > One problem is that the most general approach, John Snelson's I guess, > is also > the most verbose and un-XML-like. We might need several mappings > depending on > assumptions you make about the JSON - its much nicer to convert to XML > element > and attribute names if possible. This would avoid the need to decide on > a best > approach. > > I still struggle with the XML -> JSON mapping that eXist-db does, > mostly because its undocumented and may or may/not have some issues. > > > Oh, just posted a comment on that in another thread > > I also would really like to see this happen, but its going to take > quite a bit of time which I probably cant offer at the moment. > > > Understood - I should try to find some time myself to be helpful. > > Chris > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions > will include endpoint security, mobile security and the latest in > malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > > > > > > -- > -- > Casey Jordan > easyDITA a product of Jorsek LLC > "CaseyDJordan" on LinkedIn, Twitter & Facebook > (585) 348 7399 > easydita.com > > > This message is intended only for the use of the Addressee(s) and may > contain information that is privileged, confidential, and/or exempt from > disclosure under applicable law. If you are not the intended recipient, > please be advised that any disclosure copying, distribution, or use of > the information contained herein is prohibited. If you have received > this communication in error, please destroy all copies of the message, > whether in electronic or hard copy format, as well as attachments, and > immediately contact the sender by replying to this e-mail or by phone. > Thank you. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > > > > > -- > Adam Retter > > eXist Developer > { United Kingdom } > ad...@ex... > irc://irc.freenode.net/existdb > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > > -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |