JS中的数组转变成JSON格式字符串的方法 有一个JS数组,如:vararr=[["projectname1","projectnumber1"],["projectname2","projectnumber2"],["projectname3","p js数组转变json格式字符串