logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <rgo...@apache.org>
Subject Re: JSON and XML tag format for log events
Date Wed, 14 May 2014 02:53:39 GMT
Can you post an example?

Sent from my iPad

> On May 13, 2014, at 6:51 PM, Gary Gregory <garydgregory@gmail.com> wrote:
> 
> 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: garydgregory@gmail.com | ggregory@apache.org 
> Java Persistence with Hibernate, Second Edition
> JUnit in Action, Second Edition
> Spring Batch in Action
> Blog: http://garygregory.wordpress.com 
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory

Mime
View raw message