how to to get Object's property by it's String name
Hello everyone!
There is a function that receiving value of String = 'propertyName', wich is property name.
and i have an Object item with property of name equals to 'propertyName'.
How do i get item's value of that property?
I know that
ObjectUtil.getClassInfo(item).properties
returns an Array of item's properties, but is it an easier way to get it instead of searching trough Array?
Thanks in advance, Alex.