
In JSON views, event handlers are bound as attributes with the attribute name as event name like "press" for a button and the attribute value as event handler name.
...
{
"Type":"sap.ui.commons.Button",
"id":"MyButton",
"text":"Press Me",
"press":"doSomething"
}
...