print[ [object Object],[object Object]] to json array
I want to print [object Object],[object Object]
to like wise "[[{ 'x': '1', 'y': '0' }, { 'x': '2', 'y': '1' }]]";
How it is possible in javascript
如果您想要JavaScript对象的字符串表示形式,请使用JSON.stringify()
链接地址: http://www.djcxy.com/p/46278.html