V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
plantain
V2EX  ›  问与答

大家对于 json 和 js 里的命名规则是怎么统一的呢?

  •  
  •   plantain · 2015-04-27 12:02:06 +08:00 · 1596 次点击
    这是一个创建于 3453 天前的主题,其中的信息可能已经有所发展或是发生改变。
    因为 js 里一般是这样:“getElementById”,
    而 json 里一般这样可读性较好:“current_user_url”,
    转换为js对象后,就不统一了: data.current_user_url。
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3174 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 12:27 · PVG 20:27 · LAX 05:27 · JFK 08:27
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.