Ok - so that kinda sounds good, I think ;) . I know where you are coming from, I too have also written heaps of stuff to generate and parse json, tho tbh I would normally do such logic (or certainly the parsing) in a middle tier like a .net webservice layer, and pass back to databasic. Generating json in databasic is very easy, parsing it is the more complex bit. Then again I only realy create json data if I have some javascript that is going to use it, no great point otherwise, except it is more compact than xml, and more complex than csv.
-----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Doug Averch Sent: 28 May 2012 18:10 To: U2 Users List Subject: Re: [U2] U2 Dynamic Object API I've been using JSON for many years now. I've written UniBasic code to build JSON in many of our Web applications and our middle-ware. I have written parser in UniBasic that can read JSON arrays and give you results. I was looking very excitedly to not having to maintain my code UniBasic code and have a function that can read and write JSON. I went to U2 University this year. I was at the session that discussed UDO. I had read the documentation several times and was unable to make heads or tails out using this technology. Dan, who taught the session in Denver, had several examples that got me going. However, his examples were very simplistic and did apply to the real world so I still had a lot of work to do. After spending more hours than I care to mention, I have working code. I've time tested my code against the UDO function on Unidata 7.3 and Universe 11.1.9. I found Rocket U2 code is just a touch faster than mine. This did not surprise me in that they could build it into the run engine. The hardest part of UDO is realizing when you write it yourself you can mix objects and arrays without being explicit. Not so with UDO. UDO allows you to mix and match objects and arrays but you must set them up as separate handles. Hopefully that helps, Doug www.u2logic.com/applications.html _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1424 / Virus Database: 2425/5026 - Release Date: 05/27/12 _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users