Intellij Debugger Export объект как JSON
Debug Watch - Add this
new ObjectMapper()
.setSerializationInclusion(JsonInclude.Include.NON_NULL)
.writerWithDefaultPrettyPrinter()
.writeValueAsString( myObject )
Disgusted Dunlin