2 comments

[ 2.9 ms ] story [ 12.7 ms ] thread
Since JSON is essentially JavaScript, I'd go for camel case. Also, it saves bandwidth.
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.