Map<?, ?> map = (Map<?, ?>) action;
// FIXME: ints are getting translated into BigDecimals here.
Map<String, Object> params = (Map<String, Object>) map.get("params");
Action instance = (Action) Aura.getInstanceService().getInstance((String) map.get("descriptor"),
ActionDef.class, params);
instance.setId((String) map.get("id"));
actionList.add(instance);
}
}