How to create Json file from javascript?

المشرف العام

Administrator
طاقم الإدارة
function textFile() { var post=[{name:'name1',value:1},{name:'name2',value:2}]; var json=[]; for(var i=0;i

got this code on internet but not understanding how to make? SCRIPT5009: 'JSON' is undefined on line(in bold).

pelase provide some solution



أكثر...
 
أعلى