Last active
December 12, 2020 17:25
-
-
Save matchilling/7e6454756750463d2e3f3381a814561e to your computer and use it in GitHub Desktop.
IntelliJ Debugger - View object as JSON
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new com.fasterxml.jackson.databind.ObjectMapper() | |
.setSerializationInclusion(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) | |
.writeValueAsString(this); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment