[logback-dev] Which JSON library to pick?
les at hazlewood.com
Wed Apr 18 23:07:34 CEST 2012
The logback-extensions architecture allows you to add a new maven
module for json-simple if you want. Then you can depend on the 'json'
module and 'json-simple' (as your implementation .jar) and things will
still work. If you need to switch to Jackson at a later date, you can
just drop in the logback-ext-jackson .jar and change your config and
you should be good to go.
CTO, Stormpath | http://stormpath.com | 888.391.5282
PMC Chair, Apache Shiro | http://shiro.apache.org
twitter: @lhazlewood | http://twitter.com/lhazlewood
stormpath blog: http://stormpath.com/blog/index
On Wed, Apr 18, 2012 at 1:27 PM, ceki <ceki at qos.ch> wrote:
> Hi Les,
> Thanks for your response. So you've picked jackson as the json encoder for
> logback-extensions. I think I'll go with json-simple since my needs seem to
> similar to those described by Rob at Rojotek . He recommends json-simple. If
> the needs change, I will sure look into jackson.
>  http://goo.gl/pMhwr
> On 18.04.2012 18:41, Les Hazlewood wrote:
>> This will probably be helpful as well:
>> On Wed, Apr 18, 2012 at 7:14 AM, ceki <ceki at qos.ch <mailto:ceki at qos.ch>>
>> Hi All,
>> I would like to be able to encode objects of type ILoggingEvent or
>> IAccessEvent in JSON. Which JSON library would you recommend?
> logback-dev mailing list
> logback-dev at qos.ch
More information about the logback-dev