IntelliJ Debugger Export Obiekt jako JSON

Debug Watch - Add this

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