Re: [jackson-user] Truncate long texts using JsonGenerator

2019-05-27 Thread Tatu Saloranta
On Mon, May 27, 2019 at 12:35 PM Volkan Yazıcı wrote: > > Hello, > > log4j2-logstash-layout uses Jackson JsonGenerator to emit JSON. There is a > ticket on the project asking for truncating strings longer than a certain > value. The most straightforward (and crude?) approach, I guess, would be t

[jackson-user] Truncate long texts using JsonGenerator

2019-05-27 Thread Volkan Yazıcı
Hello, log4j2-logstash-layout uses Jackson JsonGenerator to emit JSON. There is a ticket on the project asking for truncating strings longer than a certain value. The most straightforward (a