import lin.shinder.utils.JsonFormatter; input_txt.text='[{"name":"shinder", "num":"123"}, {"name":"dephne", "num":"124"}]'; format_btn.addEventListener(MouseEvent.CLICK, formatClick); function formatClick(event) { var jf:JsonFormatter=new JsonFormatter(input_txt.text); output_txt.text = jf.result; }
沒有留言:
張貼留言