[logback-dev] Which JSON library to pick?
Les Hazlewood
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.
HTH,
--
Les Hazlewood
CTO, Stormpath | http://stormpath.com | 888.391.5282
PMC Chair, Apache Shiro | http://shiro.apache.org
twitter: @lhazlewood | http://twitter.com/lhazlewood
blog: http://leshazlewood.com
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 [1]. He recommends json-simple. If
> the needs change, I will sure look into jackson.
>
> [1] http://goo.gl/pMhwr
>
> --
> Ceki
> http://twitter.com/#!/ceki
>
>
> On 18.04.2012 18:41, Les Hazlewood wrote:
>>
>> This will probably be helpful as well:
>>
>> https://github.com/qos-ch/logback-extensions/wiki
>>
>> Cheers,
>>
>> Les
>>
>> On Wed, Apr 18, 2012 at 7:14 AM, ceki <ceki at qos.ch <mailto:ceki at qos.ch>>
>>
>> wrote:
>>
>>
>> Hi All,
>>
>> I would like to be able to encode objects of type ILoggingEvent or
>> IAccessEvent in JSON. Which JSON library would you recommend?
>>
>> Cheers,
>>
>
>
> _______________________________________________
> logback-dev mailing list
> logback-dev at qos.ch
> http://mailman.qos.ch/mailman/listinfo/logback-dev
More information about the logback-dev
mailing list