objeto de exportación de debugger de IntelliJ como JSON

Debug Watch - Add this

new ObjectMapper()
    .setSerializationInclusion(JsonInclude.Include.NON_NULL)
    .writerWithDefaultPrettyPrinter()
    .writeValueAsString( myObject )
Disgusted Dunlin