Is there any way to list all object members/properties in QML & Qt 5.1?
Such as:
var obj=myQObject;
console.log(obj)
// expected output:
// obj { x:123..... }
This would be very helpful for debugging.
Straight javascript offers what you are looking for:
JSON.stringify(anything)
It works on QML items such as Rectangle, and it also works on most arbitrary objects!