Wireshark 4.2.0 does not display text field in multiple lines using a "\n" character.
Prior to Wireshark 4.2.0, When a text filed has to be printed using Lua Dissector, I used "\n" character and it solved the problem. But with 4.2.0, all the data is showing in one line.
For example. The data with 4.2.0 shows the text as "{\r\n"Field1": 15,\n"Field2": true,\n}".. With the previous versions, the data showed nicely formatted in 4 lines like