Just my 2 cent: I had a very nice experience with jackson so far, concerning both performance and ease of use.
See http://www.cowtowncoder.com/blog/archives/2009/12/entry_345.html for a performance comparison with some other frameworks. (I haven't immediately found a more recent comparison and this one was performed by the developer of Jackson) I haven't yet used Jackson 2.0. https://github.com/huxi/lilith/tree/master/lilith-data/logging-json-serializer/src/main/java/de/huxhorn/lilith/data/logging/json contains code that is doing something quite similar to what you'd like to do. I really like the MixIn way of jackson. Cheers, Joern. On 18.04.2012, at 22:27, ceki 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@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 <[email protected] <mailto:[email protected]>> >> 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 > [email protected] > http://mailman.qos.ch/mailman/listinfo/logback-dev _______________________________________________ logback-dev mailing list [email protected] http://mailman.qos.ch/mailman/listinfo/logback-dev
