A more generic way to retrieve only the properties from qooxdoo objects is
to do it like this:


 var clazz = qx.Class.getByName( this.classname );
 var properties = qx.Class.getProperties( clazz );

 var i;
 for (i=0; i<properties.length; i++) {
           this.get( properties[i] );
          ... process the property...
 }

Why there is no standard support for this in qooxdoo beats me. Or I just
have not found it yet....


-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/create-JSON-from-array-with-objects-encounters-too-many-recursions-error-tp5638678p5686034.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to