TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
Ask HN: Proper JSON Property Naming
3 points
by
commondream
over 13 years ago
2 comments
Tichy
over 13 years ago
Since JSON is essentially JavaScript, I'd go for camel case. Also, it saves bandwidth.
wccrawford
over 13 years ago
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.