converting markup-defined UI to JSON

One coder wrote half of the UI using markup and the other half using JSON. How can the markup part be converted to JSON?

Hi, there’s no convertion software among Webix tools. You have to re-code manually.

Hi, you can check webix.markup code in webix.debug. This method reads html markup and initializes UI from it. You can add some kind of console.log there, to log parsed config.

webix.markup = {
  ...
	init: function(node, target, scope){
            ...
                 	config = this._sub_markup(els[i], html);
			config.$scope = scope;
/*  >>>  */ console.log(config); //here is the UI config as JSON
			ui = this._initComponent(config, els[i], html, target);