JSON2 vs. jquery-json

前端 未结 3 687
你的背包
你的背包 2020-12-19 03:15

This is probably a simple question, which I can\'t seem to find a solid answer to.

Why would one choose JSON2 over jquery-json plugin (http://code.google.com/p/jquer

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-19 03:35

    Most modern browsers have native JSON build in, jQuery defaults to those functions when using e.g. $.getJSON() or $.parseJSON().

    So if you are using jQuery, you don't need any plugin/library for JSON.

提交回复
热议问题