On 05/06/2015 03:51 PM, Rolf Huehne wrote: > --- Example Query 3 ------------------------- > x = {"key_1": {"type": "a"}, "key_2": {"type": "b"}, "key_3": {"type": > "a"}}; > z = getProperty(x, "[SELECT *][SELECT * WHERE key1='a']"); > print "x: type=" + z.type + " size=" + z.size; > show z; > > x: type=string size=0 > z = "" > --------------------------------------------- > Sorry, there is an error in example query 3. It should look like this:
z = getProperty(x, "[SELECT *][SELECT * WHERE type='a']"); I had adapted the second level hash key name and mixed two versions in the email. But the output is still the same. Regards, Rolf -- Rolf Huehne Postdoc Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI) Beutenbergstrasse 11 07745 Jena, Germany Phone: +49 3641 65 6205 Fax: +49 3641 65 6210 E-Mail: rhue...@fli-leibniz.de Website: http://www.fli-leibniz.de Scientific Director: Prof. Dr. K. Lenhard Rudolph Head of Administration: Dr. Daniele Barthel Chairman of Board of Trustees: Dennys Klein VAT No: DE 153 925 464 Register of Associations: No. 230296, Amtsgericht Jena Tax Number: 162/141/08228 ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users