This messages is about the format of tag names, not the shape of the
elements.

Right now, I have XML elements names in CamelCase format and XML attributes
in camelCase format. Pretty standard.

For JSON, I have both types of names as camelCase, but it makes the code a
little awkward to undertamd and maintain.

So what I think I'm going to do is use the CamelCase for objects and
camelCase for primitives.

This will give both the code and documents the same feel and it will make
it easier to understand (IMO).

Gary

-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Reply via email to