/ Published in: Groovy

Get obj props using java.beans.Introspector.getBeanInfo()
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
aClass = aObj?.getClass(); } map[ propName ] = nestedMap; nestedMap.name = propName; nestedMap.type = itr.getPropertyType(); } } // println map.values().join('\n') return map; }
Comments
