TE
科技回声
首页
24小时热榜
最新
最佳
问答
展示
工作
中文
GitHub
Twitter
首页
Ask HN: Proper JSON Property Naming
3 点
作者
commondream
超过 13 年前
2 条评论
Tichy
超过 13 年前
Since JSON is essentially JavaScript, I'd go for camel case. Also, it saves bandwidth.
wccrawford
超过 13 年前
Don't make the mistake of assuming it will only every be consumed by Ruby. Make it make sense for JSON, not the initial language used to write or consume the code.