So far I haven’t figured out a way to add properties to an object via the JSON file. If that’s not available right now, I’d like to suggest that capability be added.
While the JSON file may not be something that users “should” be poking at, by allowing multiple properties to be attached to the objects you allow 3rd parties to make tools that can work in conjunction with Corona Composer. More tools = better for everyone.
My first thought is that any JSON key that’s not “known” by Corona should be added as a property of that object. But if that’s too “wide open” then how about a JSON key like props or params – a table that allows multiple property key/values. The object could then add that single property, which could be accessed like: obj.params.foo
Although I think a case could be made to split the params out and add them all as “root” properties so you’d have obj.foo available.
Jay
PS - I know, you haven’t asked for any kind of feedback, but really, when has that stopped me before?