Session attribute is trimmed to 51150 characters

Are you sure it’s not just your display that truncates?
Can you please provide a reproducer?

It’s my mistake, sorry for littering

W dniu wtorek, 23 sierpnia 2016 16:52:45 UTC+2 użytkownik Stéphane Landelle napisał:

No pro :slight_smile:

As i said it’s my mistake, because I misinterpreted my problem. My response contain \n characters - below is part of response json:

"currentValue":{ "value":"- 4G LTE: 100 Mbit / s (reception) / 50 Mbit / s (transmit),\n - 3G: 42 Mbit / s (reception) / 5.76 Mbit / s (transmit), \n- 2G: 296 kbit / s (receive and transmit)'", "displayValue":"- 4G LTE: 100 Mbit / s (reception) / 50 Mbit / s (transmit),\n - 3G: 42 Mbit / s (reception) / 5.76 Mbit / s (transmit), \n- 2G: 296 kbit / s (receive and transmit)'" },

And when i try get this string (session(productOrderKey).as[String]) a get string with new lines, but of course it is not my intention. How I should do it ?