Can I:
- Get JS object properties as array?
- Get property by name (like
obj.prop('propname').val()) - Set property value by name (
obj.prop('propname').val('WAT?')) - Create property by name(
obj.createprop('propname')).
Why I need this: I have some model declaration (with names, types and in-response ids) and want parse JSON data according to it.