Is JSON.stringify() supported by IE 8?

后端 未结 7 888
情歌与酒
情歌与酒 2020-11-27 05:32

I need to use:

JSON.stringify()

which should be supported by Chrome, Safari, and Firefox. I think IE8 also has support for the JSON object.

相关标签:
7条回答
  • 2020-11-27 05:58

    If you try JSON.stringify() using IE 8 you need to ensure it is not working in compatibility mode. See JSON object undefined in Internet Explorer 8

    You'll need to add

    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    

    to your page

    0 讨论(0)
提交回复
热议问题