JSON polyfill:JSON 2或JSON 3? [英] JSON polyfill: JSON 2 or JSON 3?

查看:108
本文介绍了JSON polyfill:JSON 2或JSON 3?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要JSON polyfill以支持IE 7以及某些IE 8和IE 9模式.我应该选择 JSON 2 还是 html5ple 这样的网站甚至都没有提及它,因此建议JSON 2.

I need a JSON polyfill to support IE 7 and some IE 8 and IE 9 modes. Should I pick JSON 2 or JSON 3? Obviously JSON 3 is a more modern implementation, but for example a site like html5please doesn't even mention it and recommends JSON 2.

推荐答案

HTML5 Please 已更新了其JSON页面,以包含 JSON 3 是要使用的主要polyfill,而JSON 2则是后排替代品.

HTML5 Please has updated their JSON page to include JSON 3 as the main polyfill for use, with JSON 2 taking a backseat as the older replacement.

这篇关于JSON polyfill:JSON 2或JSON 3?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆