From: Bernhard v. W. <ber...@qc...> - 2015-04-13 09:02:39
|
Our take on this was to define a list based string literal called tson to avoid the lossy problem. https://github.com/qcode-software/qcode-tcl/blob/master/doc/procs/tson2json.md Bernhard On 13 April 2015 at 07:01, Jeff Rogers <dv...@di...> wrote: > Brad Chick wrote: > > AOLserver community, > > > > I need to generate and parse json in my aolserver web app. Seems like it > > should be easy enough. But there are no aolserver modules that I can > find. > > > > I did find: tcljson > > @ > > > https://code.google.com/p/aolserver/source/browse/trunk/modules/tcljson/?r=103 > > > > But can't seem to get it to build. > > > > What is the easiest/best way to get aolserver to handle json? > > Hi Brad, > > Check out rl_json - https://github.com/RubyLane/rl_json > > It's a plain tcl extension, so it's not aolserver (or naviserver) > specific, but it was written to be used in a naviserver application, so > it integrates perfectly well there. > > There are some other packages listed on the Tcler's Wiki at > http://wiki.tcl.tk/13419. There is a json package included in tcllib, > but I would recommend avoiding it as its json2dict conversion is lossier > than it needs to be, making round trips essentially impossible. > > -J > > > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live > exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > aolserver-talk mailing list > aol...@li... > https://lists.sourceforge.net/lists/listinfo/aolserver-talk > |