求助大佬 这样的字符串如何优雅的解析出来,不想用取中间文本的方式,能否转化为json
zkmx([0,'qCzP_',{id:'pageIndex',dt:'z_dhi',cu:'',uu:'/zkau',ru:'/apps/index.zul'},[
['zul.utl.Style','qCzP0',{visible:false,src:'/js/ewb_query.js'},[]],
['zul.utl.Style','qCzP1',{visible:false,content:'\n body{margin:0px; padding:0px;overflow:auto;\n\t\tbackground-color:#002542;} html{height:100%;\n\t\tmargin:0;padding:0;} \n .northstyle{ border-right: 0px; border-bottom: 1px;border-left:0px; border-top: 0px; }\n\n .menu_style_1{\n background-image:url("../images/ane-logo-02_08.png");\n\n color: white;\n }\n '},[]],
['zul.utl.Script','qCzP2',{},[]],
['zul.wgt.Html','qCzP3',{prolog:'\n ',content:zk('qCzP3').detachChildren()},[]],
['zul.wnd.Window','qCzP4',{id:'winIndexer',$$onMinimize:false,$$onZIndex:false,$$onMove:false,$onClose:true,$$onOpen:false,$$onMaximize:false,$$onSize:false,width:'100%',height:'100%',sclass:'classicblue',style:'padding: 0;margin:0;min-width:900px;min-height:400px;',prolog:'\n\n\n ',position:'center'},[
['zhtml.Widget','qCzP5',{prolog:'<a id="qCzP5" target="_blank" style="position:absolute;draggable:true;z-index:9999;padding:5px;bottom:500px;height:50px;width:50px;right:5px;" title="在线客服">',epilog:'</a>'},[
['zhtml.Widget','qCzP6',{prolog:'<img id="qCzP6" src="/images/CustomerService.png" style="height:100%;width:100%"/>'},[]]]],
['zul.wnd.Window','qCzP7',{id:'winHandle',visible:false,$onClose:true,width:'80%',height:'80%',sizable:true,position:'center',border:'normal'},[
['zul.box.Vlayout','qCzP8',{vflex:'true',hflex:'true'},[
['zul.wgt.Toolbar','qCzP9',{hflex:'true'},[
['zul.box.Box','qCzPa',{hflex:'true',prolog:'\n ',align:'center'},[
['zul.wgt.Button','qCzPb',{id:'btnHandle',label:"",tabindex:1,autodisable:'self'},[],'os'],
['zul.wgt.Label','qCzPc',{},[]],
['zul.inp.Textbox','qCzPd',{id:'txtSearchEwbNo',$$onError:false,$$onChange:false,width:'120px',ctrlKeys:'^#left'},[]]],'horizontal']]],
['zul.sel.Listbox','qCzPe',{id:'lstbData',$$onDataLoading:true,$onDataLoading:true,$onTopPad:false,$$onAnchorPos:false,$$onCheckSelectAll:false,$$onSelect:false,$$onInnerWidth:false,$$onAcrossPage:true,$$onRender:true,$$onScrollPos:false,$$onPageSize:true,vflex:'true',hflex:'true',checkmark:true,multiple:true,_topPad:0,_totalSize:0,_offset:0,_listbox$rod:true,_listbox$noSelectAll:true,paginal:{$u:'qCzPf'}},[
['zul.sel.Listhead','qCzPg',{$$onColSize:false,sizable:true},[
['zul.sel.Listheader','qCzPh',{$onSort:true,width:'60px',label:"",align:'center'},[]],
['zul.sel.Listheader','qCzPi',{$onSort:true,width:'100px',style:'text-align:center;',label:"",align:'left'},[]],
['zul.sel.Listheader','qCzPj',{$onSort:true,width:'50px',style:'text-align:center;',label:"",align:'right'},[]],
['zul.sel.Listheader','qCzPk',{$onSort:true,width:'70px',style:'text-align:center;',label:"",align:'right'},[]],
['zul.sel.Listheader','qCzPl',{$onSort:true,width:'80px',style:'text-align:center;',label:"",align:'right'},[]],
['zul.sel.Listheader','qCzPm',{$onSort:true,width:'100px',style:'text-align:center;',label:"",align:'right'},[]],
['zul.sel.Listheader','qCzPn',{$onSort:true,width:'130px',style:'text-align:center;',label:"Send a date",align:'left'},[]],
['zul.sel.Listheader','qCzPo',{$onSort:true,width:'130px',style:'text-align:center;',label:"",align:'left'},[]],
['zul.sel.Listheader','qCzPp',{$onSort:true,width:'130px',style:'text-align:center;',label:"",align:'left'},[]],
['zul.sel.Listheader','qCzPq',{$onSort:true,width:'130px',style:'text-align:center;',label:"",align:'left'},[]],
['zul.sel.Listheader','qCzPr',{$onSort:true,width:'150px',style:'text-align:center;',label:"remarks",align:'left'},[]],
['zul.sel.Listheader','qCzPs',{$onSort:true,hflex:'true',label:""},[]]]],
['zul.mesh.Paging','qCzPf',{$$onPaging:false,pageSize:50,detailed:true,autohide:true},[]]],'paging'],
['zul.mesh.Paging','qCzPt',{id:'paginal',pageSize:50,detailed:true},[]]]]]],
['zul.wnd.Window','qCzPu',{id:'winHandleFiled',visible:false,$onClose:true,width:'70%',height:'60%',closable:true,sizable:true,position:'center',border:'normal'},[]],
['zul.layout.Borderlayout','qCzPv',{width:'100%',sclass:'classicblue',style:'border:0;margin:0px;padding:0px;'},[
['zul.layout.North','qCzPw',{$$onOpen:false,$$onSize:false,border:'none'},[
['zul.wgt.Div','qCzPx',{width:'100%',height:'35px',style:'background-image:url(../images/sx-logo-02_16.png); background-repeat:repeat;'},[
['zul.layout.Borderlayout','qCzPy',{style:'background-color: inherit;',prolog:'\n '},[
['zul.layout.Center','qCzPz',{$$onOpen:false,$$onSize:false,style:'background-color: inherit;',border:'none'},[
['zul.wgt.Div','qCzP_0',{width:'100%',align:'right'},[
['zul.box.Box','qCzP00',{height:'32px',prolog:'\n ',align:'center'},[
['zul.wgt.Label','qCzP10',{id:'labClientDownload',visible:false,$onClick:true,style:'color:white;cursor:pointer;cursor:hand;',value:'客户端下载'},[]],
['zul.wgt.Space','qCzP20',{width:'10px',orient:'vertical'},[]],
['zul.wgt.Label','qCzP30',{style:'color:white;',value:'用户名称'},[]],
...
补充内容 (2020-5-10 09:09):
文本文件在3楼 大佬们谢谢啦
补充内容 (2020-5-13 13:12):
有没有大佬在啊 |