search

Home  >  Q&A  >  body text

javascript - json里如何进行注释呢

注释了下发现会报错啊,不管是用哪种都会报错呢。什么情况?

// 注释
/* 注释 */
PHPzPHPz2929 days ago650

reply all(2)I'll reply

  • 数据分析师

    数据分析师2017-10-01 01:15:32

    javascript - How to annotate in json - PHP Chinese website Q&A - javascript - How to annotate in json - PHP Chinese website Q&A

    Take a look around and learn.

    reply
    0
  • 怪我咯

    怪我咯2017-04-10 12:44:16

    JSON没有comment。

    JSON.org右栏 ->http://json.org/
    The application/json Media Type for JSON -> http://www.ietf.org/rfc/rfc4627.txt

    reply
    0
  • Cancelreply